* cygwait.cc (cancelable_wait): Mimic old cygwait behavior more closely wrt
handling of call_signal_handler. * cygwait.h (WAIT_CANCELED): Move here and redefine. (WAIT_SIGNALED): Ditto. * thread.h (WAIT_CANCELED): Delete. (WAIT_SIGNALED): Ditto.
This commit is contained in:
@@ -204,7 +204,7 @@ fhandler_termios::bg_check (int sig)
|
||||
{
|
||||
/* Don't raise a SIGTT* signal if we have already been
|
||||
interrupted by another signal. */
|
||||
if (WaitForSingleObject (signal_arrived, 0) != WAIT_OBJECT_0)
|
||||
if (cygwait (0) != WAIT_SIGNALED)
|
||||
{
|
||||
siginfo_t si = {0};
|
||||
si.si_signo = sig;
|
||||
|
Reference in New Issue
Block a user