From 6157743d67c79d21996ec2cc9742fd8e4e985be7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 23 Feb 2015 16:54:54 +0100 Subject: score: Simplify and fix signal delivery Deliver the POSIX signals after the thread state was updated to avoid race-conditions on SMP configurations. Update #2273. --- cpukit/score/src/threadrestart.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cpukit/score/src') diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c index cc2d8c349f..10d05f1c15 100644 --- a/cpukit/score/src/threadrestart.c +++ b/cpukit/score/src/threadrestart.c @@ -235,7 +235,6 @@ static void _Thread_Start_life_change( _Scheduler_Set_priority_if_higher( scheduler, the_thread, priority ); _Thread_Add_post_switch_action( the_thread, &the_thread->Life.Action ); _Thread_Ready( the_thread ); - _Thread_Request_dispatch_if_executing( the_thread ); } static void _Thread_Request_life_change( -- cgit v1.2.3