diff options
Diffstat (limited to 'cpukit/score/src/threadresume.c')
-rw-r--r-- | cpukit/score/src/threadresume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadresume.c b/cpukit/score/src/threadresume.c index 25e396d0be..65882d37ca 100644 --- a/cpukit/score/src/threadresume.c +++ b/cpukit/score/src/threadresume.c @@ -70,7 +70,7 @@ void _Thread_Resume( current_state = the_thread->current_state; if ( current_state & STATES_SUSPENDED ) { - current_state = + current_state = the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state); if ( _States_Is_ready( current_state ) ) { |