* 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

@@ -564,7 +564,7 @@ thread_wrapper (PVOID arg)
cfree (arg);
/* Remove _cygtls from this stack since it won't be used anymore. */
_my_tls.remove (INFINITE);
_my_tls.remove (0);
/* Set stack values in TEB */
PTEB teb = NtCurrentTeb ();