From aa48536498a4aa184f8b7694277429fde9a10319 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 17 Sep 1996 21:31:10 +0000 Subject: Added code to insure that the post switch extension was executed and to made signals sent to a particular thread from an ISR operated correctly. This behavior was required by the exception detection/reporting code in the gnat runtime. --- cpukit/posix/src/psignal.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit') diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c index 863220e608..289c9f02d5 100644 --- a/cpukit/posix/src/psignal.c +++ b/cpukit/posix/src/psignal.c @@ -1285,6 +1285,11 @@ int pthread_kill( api->signals_pending |= signo_to_mask( sig ); (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; } _Thread_Enable_dispatch(); return 0; -- cgit v1.2.3