From 197a614209beb9359e127151c219722f56054677 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 5 Jul 2017 15:14:26 +0200 Subject: score: Add scheduler node to set affinity op Update #3059. --- cpukit/score/include/rtems/score/scheduler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpukit/score/include/rtems/score/scheduler.h') 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 ); -- cgit v1.2.3