diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-10-29 14:17:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-23 11:00:28 +0100 |
commit | 4d90289e7169ad96137b7b92b7f05d25bd82ab08 (patch) | |
tree | 2c4257fcc332ba8e6793258b837b4c1141420109 /cpukit/score/src/schedulerstrongapa.c | |
parent | score: Remove victim thread from CPU allocation (diff) | |
download | rtems-4d90289e7169ad96137b7b92b7f05d25bd82ab08.tar.bz2 |
score: _Scheduler_SMP_Schedule_highest_ready()
Simplify callers of _Scheduler_SMP_Schedule_highest_ready(). Move the node
state change and the extraction from scheduled into
_Scheduler_SMP_Schedule_highest_ready(). Move the idle thread release to the
caller which have more information about the presence of an idle thread.
Update #4531.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/schedulerstrongapa.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/score/src/schedulerstrongapa.c b/cpukit/score/src/schedulerstrongapa.c index 265ef1a797..c897652320 100644 --- a/cpukit/score/src/schedulerstrongapa.c +++ b/cpukit/score/src/schedulerstrongapa.c @@ -920,8 +920,7 @@ void _Scheduler_strong_APA_Block( _Scheduler_strong_APA_Get_highest_ready, _Scheduler_strong_APA_Move_from_ready_to_scheduled, _Scheduler_strong_APA_Allocate_processor, - _Scheduler_strong_APA_Get_idle, - _Scheduler_strong_APA_Release_idle + _Scheduler_strong_APA_Get_idle ); } @@ -1014,8 +1013,7 @@ void _Scheduler_strong_APA_Withdraw_node( _Scheduler_strong_APA_Get_highest_ready, _Scheduler_strong_APA_Move_from_ready_to_scheduled, _Scheduler_strong_APA_Allocate_processor, - _Scheduler_strong_APA_Get_idle, - _Scheduler_strong_APA_Release_idle + _Scheduler_strong_APA_Get_idle ); } |