diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-17 21:31:10 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-17 21:31:10 +0000 |
commit | aa48536498a4aa184f8b7694277429fde9a10319 (patch) | |
tree | a65c312dd8e2bfdfbfdd271b0622f3ecf00d2846 /cpukit/posix/src/psignal.c | |
parent | Corrected implementation of timed wait on condition variables. First (diff) | |
download | rtems-aa48536498a4aa184f8b7694277429fde9a10319.tar.bz2 |
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.
Diffstat (limited to 'cpukit/posix/src/psignal.c')
-rw-r--r-- | cpukit/posix/src/psignal.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |