diff options
author | Christopher Faylor <me@cgf.cx> | 2012-12-21 19:32:43 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-12-21 19:32:43 +0000 |
commit | 65068ebd7f78c461f2e5b59e49ac923f98783ab1 (patch) | |
tree | 88f76df0beb9b66918bcce690aaa5df7d14ef39f /winsup/cygwin/thread.cc | |
parent | 614aff88a0cf6c0ec5ec5ba063b003549dedc9db (diff) | |
download | newlib-65068ebd7f78c461f2e5b59e49ac923f98783ab1.zip newlib-65068ebd7f78c461f2e5b59e49ac923f98783ab1.tar.gz newlib-65068ebd7f78c461f2e5b59e49ac923f98783ab1.tar.bz2 |
* DevNotes: Add entry cgf-000018.
* init.cc (dll_entry): Grab process lock before exiting to ensure that thread
doesn't exit before parent if parent is exiting.
* _cygtls.cc (_cygtls::call2): Revert previous 2012-12-21 change.
* miscfuncs.cc (thread_wrapper): Ditto.
* thread.cc (pthread::exit): Ditto.
* sigproc.cc (exit_thread): Ditto.
(wait_sig): Ditto.
* sync.cc (muto::release): Ditto.
* sync.h (muto::release): Ditto.
* sigproc.h (__SIGTHREADEXIT): Delete enum.
(exit_thread): Delete declaration.
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r-- | winsup/cygwin/thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index 415ad4a..187ea52 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -532,7 +532,7 @@ pthread::exit (void *value_ptr) _main_tls = dummy; _main_tls->initialized = false; } - exit_thread (0); + ExitThread (0); } } |