* exceptions.cc (pending_signals): Remove unneeded declaration.

* sigproc.cc (pending_signals): Make static.
(wait_sig): Use defined values rather than integers for rc.  Never scan both
todo arrays as this could cause hangs if signals arrive from two different
sources.  Rename saw_pending_signals to saw_failed_interrupt.  Exit loop when
signal found.  Enter low-priority sleep, if necessary, after finished
signalling completion.  Set pending_signals when blocked
(from Pierre Humblet).
This commit is contained in:
Christopher Faylor
2003-08-20 02:31:26 +00:00
parent 6ac844b5e3
commit 5f31e0f305
3 changed files with 37 additions and 31 deletions

View File

@ -591,7 +591,6 @@ handle_sigsuspend (sigset_t tempmask)
}
extern DWORD exec_exit; // Possible exit value for exec
extern int pending_signals;
extern "C" {
static void