Apply handle_sigsuspend patch
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user