diff options
Diffstat (limited to 'cpukit/score/src/threadrestart.c')
-rw-r--r-- | cpukit/score/src/threadrestart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c index d01a229d9f..a0416b802b 100644 --- a/cpukit/score/src/threadrestart.c +++ b/cpukit/score/src/threadrestart.c @@ -33,6 +33,8 @@ void _Thread_Life_action_handler( (void) action; _Thread_Action_release_and_ISR_enable( cpu, level ); + _User_extensions_Thread_restart( the_thread ); + _Thread_Disable_dispatch(); _Thread_Load_environment( executing ); @@ -83,8 +85,6 @@ bool _Thread_Restart( _Thread_Request_life_change( the_thread ); - _User_extensions_Thread_restart( the_thread ); - return true; } |