RTEMS
schedulerdefaultsetaffinity.c
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 2014.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifdef HAVE_CONFIG_H
19 #include "config.h"
20 #endif
21 
23 
25  const Scheduler_Control *scheduler,
26  Thread_Control *thread,
27  Scheduler_Node *node,
28  const Processor_mask *affinity
29 )
30 {
32  scheduler,
33  thread,
34  node,
35  affinity
36  );
37 }
Inlined Routines Associated with the Manipulation of the Scheduler.
bool _Scheduler_default_Set_affinity(const Scheduler_Control *scheduler, Thread_Control *thread, Scheduler_Node *node, const Processor_mask *affinity)
Checks if the processor set of the scheduler is the subset of the affinity set.
Scheduler control.
Definition: scheduler.h:264
Scheduler node for per-thread data.
Definition: schedulernode.h:79
static __inline__ bool _Scheduler_default_Set_affinity_body(const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node, const Processor_mask *affinity)
Checks if the affinity is a subset of the online processors.