* cygtls.cc (_cygtls::remove): Don't bother if we're exiting.
* sigproc.cc (_cygtls::remove_wq): Ditto.
This commit is contained in:
parent
1f3a4b8496
commit
2c8fd40695
@ -1,3 +1,8 @@
|
|||||||
|
2005-12-13 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* cygtls.cc (_cygtls::remove): Don't bother if we're exiting.
|
||||||
|
* sigproc.cc (_cygtls::remove_wq): Ditto.
|
||||||
|
|
||||||
2005-12-13 Christopher Faylor <cgf@timesys.com>
|
2005-12-13 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* fhandler_tty.cc (fhandler_tty::open): Enhance comment.
|
* fhandler_tty.cc (fhandler_tty::open): Enhance comment.
|
||||||
|
@ -147,7 +147,7 @@ void
|
|||||||
_cygtls::remove (DWORD wait)
|
_cygtls::remove (DWORD wait)
|
||||||
{
|
{
|
||||||
debug_printf ("wait %p", wait);
|
debug_printf ("wait %p", wait);
|
||||||
if (!locals.exitsock)
|
if (!locals.exitsock || exit_state >= ES_FINAL)
|
||||||
return;
|
return;
|
||||||
if (wait)
|
if (wait)
|
||||||
{
|
{
|
||||||
|
@ -355,7 +355,8 @@ out1:
|
|||||||
void
|
void
|
||||||
_cygtls::remove_wq (DWORD wait)
|
_cygtls::remove_wq (DWORD wait)
|
||||||
{
|
{
|
||||||
if (sync_proc_subproc && sync_proc_subproc.acquire (wait))
|
if (exit_state < ES_FINAL && sync_proc_subproc
|
||||||
|
&& sync_proc_subproc.acquire (wait))
|
||||||
{
|
{
|
||||||
for (waitq *w = &waitq_head; w->next != NULL; w = w->next)
|
for (waitq *w = &waitq_head; w->next != NULL; w = w->next)
|
||||||
if (w->next == &wq)
|
if (w->next == &wq)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user