diff options
Diffstat (limited to 'cpukit/posix/src/pthread.c')
-rw-r--r-- | cpukit/posix/src/pthread.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index ba394b4924..43ed140b11 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -141,11 +141,7 @@ static void _POSIX_Threads_Terminate_extension( Thread_Control *executing ) api = executing->API_Extensions[ THREAD_API_POSIX ]; _Thread_State_acquire( executing, &lock_context ); - - if ( api->schedpolicy == SCHED_SPORADIC ) { - _Watchdog_Per_CPU_remove_monotonic( &api->Sporadic.Timer ); - } - + _Watchdog_Per_CPU_remove_monotonic( &api->Sporadic.Timer ); _Thread_State_release( executing, &lock_context ); } |