diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-29 12:46:40 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-30 09:53:25 +0200 |
commit | 6c0e43d31ae1eb1b0ef057880d7cefa425b2fc30 (patch) | |
tree | 5d239ea55be7890ad314eb26e89edc7f1ee101d5 /cpukit/posix/src/pthreadkill.c | |
parent | smptests/smppsxsignal01: New test (diff) | |
download | rtems-6c0e43d31ae1eb1b0ef057880d7cefa425b2fc30.tar.bz2 |
score: Add and use _Thread_Signal_notification()
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; |