mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 11:30:56 +08:00
* init.cc (remove): Don't bother calling through thread removal cleanup if we
are exiting.
This commit is contained in:
parent
4ab568c60c
commit
d8e7e40416
@ -1,3 +1,8 @@
|
|||||||
|
2011-11-26 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||||
|
|
||||||
|
* init.cc (remove): Don't bother calling through thread removal
|
||||||
|
cleanup if we are exiting.
|
||||||
|
|
||||||
2011-11-26 Christopher Faylor <me.cygwin2011@cgf.cx>
|
2011-11-26 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||||
|
|
||||||
* exceptions.cc (stackdump): Make global.
|
* exceptions.cc (stackdump): Make global.
|
||||||
|
@ -150,6 +150,7 @@ dll_entry (HANDLE h, DWORD reason, void *static_load)
|
|||||||
break;
|
break;
|
||||||
case DLL_THREAD_DETACH:
|
case DLL_THREAD_DETACH:
|
||||||
if (dll_finished_loading
|
if (dll_finished_loading
|
||||||
|
&& exit_state < ES_FINAL
|
||||||
&& (PVOID) &_my_tls > (PVOID) &wow64_test_stack_marker
|
&& (PVOID) &_my_tls > (PVOID) &wow64_test_stack_marker
|
||||||
&& _my_tls.isinitialized ())
|
&& _my_tls.isinitialized ())
|
||||||
_my_tls.remove (0);
|
_my_tls.remove (0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user