diff options
Diffstat (limited to 'cpukit/score/src/threadclearstate.c')
-rw-r--r-- | cpukit/score/src/threadclearstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/threadclearstate.c b/cpukit/score/src/threadclearstate.c index ae54e3aac1..3da3538551 100644 --- a/cpukit/score/src/threadclearstate.c +++ b/cpukit/score/src/threadclearstate.c @@ -32,7 +32,7 @@ States_Control _Thread_Clear_state( _Assert( state != 0 ); - _Scheduler_Acquire( the_thread, &lock_context ); + _Thread_State_acquire( the_thread, &lock_context ); previous_state = the_thread->current_state; @@ -47,7 +47,7 @@ States_Control _Thread_Clear_state( } } - _Scheduler_Release( the_thread, &lock_context ); + _Thread_State_release( the_thread, &lock_context ); return previous_state; } |