summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorThomas Pfaff <tpfaff@gmx.net>2003-01-14 19:55:42 +0000
committerThomas Pfaff <tpfaff@gmx.net>2003-01-14 19:55:42 +0000
commit3457ce4d88c7f3c9eb4cf2167ba8287108ba3f5b (patch)
tree0ac8f6cc46e325acbcac5489c931ee4b49510832 /winsup/cygwin/exceptions.cc
parent2673d5f209d94b396007d52e82139fe406fa0420 (diff)
downloadcygnal-3457ce4d88c7f3c9eb4cf2167ba8287108ba3f5b.tar.gz
cygnal-3457ce4d88c7f3c9eb4cf2167ba8287108ba3f5b.tar.bz2
cygnal-3457ce4d88c7f3c9eb4cf2167ba8287108ba3f5b.zip
Apply handle_sigsuspend patch
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index e73775f66..877b02d58 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -576,7 +576,8 @@ handle_sigsuspend (sigset_t tempmask)
// interested in through.
sigproc_printf ("old mask %x, new mask %x", oldmask, tempmask);
- WaitForSingleObject (signal_arrived, INFINITE);
+ pthread_testcancel ();
+ pthread::cancelable_wait (signal_arrived, INFINITE);
set_sig_errno (EINTR); // Per POSIX