summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadrestart.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-02-23 16:54:54 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-05 11:36:19 +0100
commit6157743d67c79d21996ec2cc9742fd8e4e985be7 (patch)
treebf350ddf23443f898bfd199e139fc91e9d326af8 /cpukit/score/src/threadrestart.c
parentscore: Update _Thread_Heir only if necessary (diff)
downloadrtems-6157743d67c79d21996ec2cc9742fd8e4e985be7.tar.bz2
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.
Diffstat (limited to 'cpukit/score/src/threadrestart.c')
-rw-r--r--cpukit/score/src/threadrestart.c1
1 files changed, 0 insertions, 1 deletions
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(