diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-03 09:31:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-03 09:37:31 +0200 |
commit | 3aad9d9b08950f132e5fb285ef8e9cda2d1b3844 (patch) | |
tree | f8de36da9699904afb62250069bc1ffd56839157 /cpukit/score/src/schedulerpriorityaffinitysmp.c | |
parent | bsps: BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN (diff) | |
download | rtems-3aad9d9b08950f132e5fb285ef8e9cda2d1b3844.tar.bz2 |
score: Generalize SMP scheduler block support
Add extract from scheduled function to the _Scheduler_SMP_Block()
operation. This allows a scheduler implementation to do extra work in
case a scheduled node is blocked.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/schedulerpriorityaffinitysmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/src/schedulerpriorityaffinitysmp.c b/cpukit/score/src/schedulerpriorityaffinitysmp.c index 4808c84c3f..a82106566b 100644 --- a/cpukit/score/src/schedulerpriorityaffinitysmp.c +++ b/cpukit/score/src/schedulerpriorityaffinitysmp.c @@ -174,6 +174,7 @@ void _Scheduler_priority_affinity_SMP_Block( context, thread, node, + _Scheduler_SMP_Extract_from_scheduled, _Scheduler_priority_SMP_Extract_from_ready, _Scheduler_priority_affinity_SMP_Get_highest_ready, _Scheduler_priority_SMP_Move_from_ready_to_scheduled, |