OSDN Git Service

* exceptions.cc (pending_signals): Remove unneeded declaration.
authorcgf <cgf>
Wed, 20 Aug 2003 02:31:25 +0000 (02:31 +0000)
committercgf <cgf>
Wed, 20 Aug 2003 02:31:25 +0000 (02:31 +0000)
commit3cb223803bbb4258e5b6545a62845ba85fe619f7
treea2163ba16f97540e56d531cdcc8a7223358efa47
parent69f7a413bf3c05a0abc9e6892324cee2c0d8ce14
* 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).
winsup/cygwin/ChangeLog
winsup/cygwin/exceptions.cc
winsup/cygwin/sigproc.cc