summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreadkill.c')
-rw-r--r--cpukit/posix/src/pthreadkill.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/posix/src/pthreadkill.c b/cpukit/posix/src/pthreadkill.c
index 9b6bd408e0..6d96067049 100644
--- a/cpukit/posix/src/pthreadkill.c
+++ b/cpukit/posix/src/pthreadkill.c
@@ -63,10 +63,8 @@ int pthread_kill(
(void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
- the_thread->do_post_task_switch_extension = true;
-
if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
- _ISR_Signals_to_thread_executing = true;
+ _Context_Switch_necessary = true;
}
_Thread_Enable_dispatch();
return 0;