* 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:
Corinna Vinschen
2014-11-21 21:41:37 +00:00
parent d5692c713f
commit 764d261276
4 changed files with 23 additions and 4 deletions

View File

@@ -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;
}