summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadrestart.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-14 11:11:05 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-14 16:49:27 +0200
commitc21c5912a86e752dc3a65101385838291d8e0536 (patch)
treea5f840d68e780eae82f5797c0e8f194251b52503 /cpukit/score/src/threadrestart.c
parentscore: Typo (diff)
downloadrtems-c21c5912a86e752dc3a65101385838291d8e0536.tar.bz2
score: Add STATES_RESTARTING
Use separate state for thread restart.
Diffstat (limited to 'cpukit/score/src/threadrestart.c')
-rw-r--r--cpukit/score/src/threadrestart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c
index 9cf2a85165..b483298647 100644
--- a/cpukit/score/src/threadrestart.c
+++ b/cpukit/score/src/threadrestart.c
@@ -224,7 +224,7 @@ static void _Thread_Start_life_change(
the_thread->budget_callout = the_thread->Start.budget_callout;
the_thread->real_priority = priority;
- _Thread_Set_transient( the_thread );
+ _Thread_Set_state( the_thread, STATES_RESTARTING );
_Thread_queue_Extract_with_proxy( the_thread );
_Watchdog_Remove( &the_thread->Timer );
_Scheduler_Set_priority_if_higher( scheduler, the_thread, priority );