Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-02-20 17:31:26 +0300
committerChristopher Faylor <me@cgf.cx>2007-02-20 17:31:26 +0300
commitd0cf179299952b716333e437a8264610e5b4740f (patch)
treef3d0f289b146404e80648a40f296319d8ee2aa3c /winsup/cygwin/sync.h
parentfe32d85c523017026bdc0f476329f160d1d42d33 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/sync.h')
-rw-r--r--winsup/cygwin/sync.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h
index f7ce7e1b4..dfe2c3921 100644
--- a/winsup/cygwin/sync.h
+++ b/winsup/cygwin/sync.h
@@ -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 ();
}
}