diff options
Diffstat (limited to 'cpukit/posix/src/pthreadkill.c')
-rw-r--r-- | cpukit/posix/src/pthreadkill.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/posix/src/pthreadkill.c b/cpukit/posix/src/pthreadkill.c index 11287facba..9c839d7767 100644 --- a/cpukit/posix/src/pthreadkill.c +++ b/cpukit/posix/src/pthreadkill.c @@ -69,9 +69,7 @@ int pthread_kill( api->signals_pending |= signo_to_mask( sig ); (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL ); - - if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) ) - _Thread_Dispatch_necessary = true; + _Thread_Signal_notification( the_thread ); } _Objects_Put( &the_thread->Object ); return 0; |