* init.cc (dll_entry): Revert previous patch. This requires another
solution. * miscfuncs.cc (thread_wrapper): Ditto. * sigproc.cc (exit_thread): Disable sending a signal for synchronization with process exit. Explain why. Keep code in for later inspection, should the problem show up again. (sig_send): Use "tls", rather than "tid" as name for _cygtls arg.
This commit is contained in:
@@ -95,7 +95,7 @@ dll_entry (HANDLE h, DWORD reason, void *static_load)
|
||||
if (dll_finished_loading
|
||||
&& (PVOID) &_my_tls > (PVOID) &test_stack_marker
|
||||
&& _my_tls.isinitialized ())
|
||||
_my_tls.remove (INFINITE);
|
||||
_my_tls.remove (0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user