diff options
author | Christopher Faylor <me@cgf.cx> | 2011-11-26 06:35:49 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-11-26 06:35:49 +0400 |
commit | 1d04c4c6c36f307f79a5617bc62e1a766ce01355 (patch) | |
tree | ed3dfe5a96d9fe9353e5eb1927df7aa8f3a20a1e /winsup/cygwin/sync.cc | |
parent | 505bce274fe261526833f77f7bf24b33542da151 (diff) |
* exceptions.cc (sigpacket::process): Move signal_exit processing into...
(_cygtls::signal_exit): ...here. Close my_readsig and comment on why.
* pinfo.cc (pinfo::exit): Move sigproc_terminate earlier. Set exiting flag in
lock_process.
* sigproc.cc (my_readsig): Make global.
* sync.cc (muto::exiting_thread): Delete.
(muto::acquire): Delete #if 0'ed code.
* sync.h (muto::exiting_thread): Delete.
(set_exiting_thread): Ditto.
(lock_process::lock_process): Don't worry about setting the exiting thread
since it had no meaning.
Diffstat (limited to 'winsup/cygwin/sync.cc')
-rw-r--r-- | winsup/cygwin/sync.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/cygwin/sync.cc b/winsup/cygwin/sync.cc index 58b854912..0731fd18f 100644 --- a/winsup/cygwin/sync.cc +++ b/winsup/cygwin/sync.cc @@ -20,7 +20,6 @@ details. */ #undef WaitForSingleObject -DWORD NO_COPY muto::exiting_thread; muto NO_COPY lock_process::locker; void @@ -76,10 +75,6 @@ int muto::acquire (DWORD ms) { void *this_tls = &_my_tls; -#if 0 - if (exiting_thread) - return this_tid == exiting_thread; -#endif if (tls != this_tls) { |