* exceptions.cc (sigpacket::process): Avoid a potential deadlock when exiting
due to a signal.
This commit is contained in:
parent
8b5e267bb8
commit
673a691372
@ -1,3 +1,8 @@
|
||||
2011-10-28 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||
|
||||
* exceptions.cc (sigpacket::process): Avoid a potential deadlock when
|
||||
exiting due to a signal.
|
||||
|
||||
2011-10-28 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* cygwin.din (getgrouplist): Export.
|
||||
|
@ -1321,6 +1321,7 @@ exit_sig:
|
||||
if (cygheap->rlim_core > 0UL)
|
||||
si.si_signo |= 0x80;
|
||||
}
|
||||
SetEvent (signal_arrived); // To avoid a potential deadlock with proc_lock
|
||||
sigproc_printf ("signal %d, about to call do_exit", si.si_signo);
|
||||
use_tls->signal_exit (si.si_signo); /* never returns */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user