score: Add missing idle thread releases

Update #4531.
This commit is contained in:
Sebastian Huber
2021-11-23 11:00:28 +01:00
parent bd55f69f5b
commit e787091764
@@ -1092,6 +1092,12 @@ static inline void _Scheduler_SMP_Schedule_highest_ready(
);
( *move_from_ready_to_scheduled )( context, highest_ready );
_Scheduler_Release_idle_thread(
context,
victim,
_Scheduler_SMP_Release_idle_thread
);
} else {
_Assert( action == SCHEDULER_TRY_TO_SCHEDULE_DO_BLOCK );
@@ -1150,6 +1156,12 @@ static inline void _Scheduler_SMP_Preempt_and_schedule_highest_ready(
);
( *move_from_ready_to_scheduled )( context, highest_ready );
_Scheduler_Release_idle_thread(
context,
victim,
_Scheduler_SMP_Release_idle_thread
);
} else {
_Assert( action == SCHEDULER_TRY_TO_SCHEDULE_DO_BLOCK );