summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threaddispatch.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-10-29 09:30:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-23 11:00:28 +0100
commitfc64e837c3544c3462539237fec4e90726aa8727 (patch)
treeb496ba1164e5d48e7b58115d8978182ae12ed116 /cpukit/score/src/threaddispatch.c
parentscore: _Scheduler_SMP_Schedule_highest_ready() (diff)
downloadrtems-fc64e837c3544c3462539237fec4e90726aa8727.tar.bz2
score: Rework ask for help requests
Process ask for help requests on the current processor. This avoids using inter-processor interrupts to make the system behaviour a bit more predictable. Update #4531.
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/threaddispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c
index a53c8de2b0..8dc5dfb9e8 100644
--- a/cpukit/score/src/threaddispatch.c
+++ b/cpukit/score/src/threaddispatch.c
@@ -172,8 +172,8 @@ static ISR_Level _Thread_Preemption_intervention(
Thread_Control *the_thread;
node = _Chain_Get_first_unprotected( &cpu_self->Threads_in_need_for_help );
- _Chain_Set_off_chain( node );
the_thread = THREAD_OF_SCHEDULER_HELP_NODE( node );
+ the_thread->Scheduler.ask_for_help_cpu = NULL;
_Per_CPU_Release( cpu_self, &lock_context );