summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/scheduler.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-05 15:14:26 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-07 07:56:24 +0200
commit197a614209beb9359e127151c219722f56054677 (patch)
tree2e4bad2ff74c8d4a4eb95bfcc571011faa0ad998 /cpukit/score/include/rtems/score/scheduler.h
parentscore: Fix default set affinity (diff)
downloadrtems-197a614209beb9359e127151c219722f56054677.tar.bz2
score: Add scheduler node to set affinity op
Update #3059.
Diffstat (limited to 'cpukit/score/include/rtems/score/scheduler.h')
-rw-r--r--cpukit/score/include/rtems/score/scheduler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/scheduler.h b/cpukit/score/include/rtems/score/scheduler.h
index 5f3fb01206..a2a72b037c 100644
--- a/cpukit/score/include/rtems/score/scheduler.h
+++ b/cpukit/score/include/rtems/score/scheduler.h
@@ -207,6 +207,7 @@ typedef struct {
bool ( *set_affinity )(
const Scheduler_Control *,
Thread_Control *,
+ Scheduler_Node *,
const Processor_mask *
);
#endif
@@ -510,6 +511,7 @@ void _Scheduler_default_Start_idle(
*
* @param[in] scheduler The scheduler instance.
* @param[in] thread The associated thread.
+ * @param[in] node The home scheduler node of the associated thread.
* @param[in] affinity The new processor affinity set for the thread.
*
* @retval true The processor set of the scheduler is a subset of the affinity set.
@@ -518,6 +520,7 @@ void _Scheduler_default_Start_idle(
bool _Scheduler_default_Set_affinity(
const Scheduler_Control *scheduler,
Thread_Control *thread,
+ Scheduler_Node *node,
const Processor_mask *affinity
);