* sigproc.cc (wait_sig): Be more defensive about detecting when we're exiting.
This commit is contained in:
parent
4e993dc7cc
commit
00fb79f70e
|
@ -1,3 +1,8 @@
|
|||
2005-09-13 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* sigproc.cc (wait_sig): Be more defensive about detecting when we're
|
||||
exiting.
|
||||
|
||||
2005-09-12 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* cygthread.cc (cygthread::cygthread): Add more info to fatal error.
|
||||
|
|
|
@ -1028,7 +1028,7 @@ wait_sig (VOID *self)
|
|||
sigpacket pack;
|
||||
if (!ReadFile (readsig, &pack, sizeof (pack), &nb, NULL))
|
||||
break;
|
||||
if (myself->sendsig == INVALID_HANDLE_VALUE)
|
||||
if (exit_state || myself->sendsig == INVALID_HANDLE_VALUE)
|
||||
break;
|
||||
|
||||
if (nb != sizeof (pack))
|
||||
|
|
Loading…
Reference in New Issue