summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-08-20 02:31:26 +0000
committerChristopher Faylor <me@cgf.cx>2003-08-20 02:31:26 +0000
commit5f31e0f30557788f0f451fd69fbc70a89c271c18 (patch)
tree1b3763c8d947acb63beddda0bc7e4c610b1fed96 /winsup/cygwin/exceptions.cc
parent6ac844b5e3ef1c50a6faeac37abd23f9b8b8fe6d (diff)
downloadcygnal-5f31e0f30557788f0f451fd69fbc70a89c271c18.tar.gz
cygnal-5f31e0f30557788f0f451fd69fbc70a89c271c18.tar.bz2
cygnal-5f31e0f30557788f0f451fd69fbc70a89c271c18.zip
* 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).
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index dea7c8b3e..537f55e99 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -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