* 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.
This commit is contained in:
@@ -532,7 +532,7 @@ pthread::exit (void *value_ptr)
|
||||
_main_tls = dummy;
|
||||
_main_tls->initialized = false;
|
||||
}
|
||||
exit_thread (0);
|
||||
ExitThread (0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user