* exceptions.cc (_cygtls::signal_exit): Only call myself.exit when when

exit_state indicates that we've visited do_exit.
* sync.h (lock_process::lock_process): Use renamed exit_state -
ES_PROCESS_LOCKED.
* winsup.h: Rename ES_MUTO_SET to ES_PROCESS_LOCKED.
This commit is contained in:
Christopher Faylor
2007-02-20 14:31:26 +00:00
parent fe32d85c52
commit d0cf179299
4 changed files with 13 additions and 5 deletions

View File

@@ -55,9 +55,9 @@ public:
{
locker.acquire ();
skip_unlock = exiting;
if (exiting && exit_state < ES_SET_MUTO)
if (exiting && exit_state < ES_PROCESS_LOCKED)
{
exit_state = ES_SET_MUTO;
exit_state = ES_PROCESS_LOCKED;
muto::set_exiting_thread ();
}
}