Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-01-05 19:26:22 +0300
committerChristopher Faylor <me@cgf.cx>2006-01-05 19:26:22 +0300
commit4cf4fd4d1c413ac782504183ec614aed0ed68fb6 (patch)
tree6521bc283b7ce4859d926a8e27e5f5e5a50ed7f0 /winsup/cygwin/cygtls.cc
parent32f0697595b97a07b17f982bb182722a80b388e7 (diff)
(fix ChangeLog and check in remaining files)
* sigproc.cc (sigproc_init): Move clearing of sync_startup here to lessen the likelihood of trying to deal with non-cygwin threads in dll_entry. * fhandler_console: Fix set_console_state_for_spawn comment.
Diffstat (limited to 'winsup/cygwin/cygtls.cc')
-rw-r--r--winsup/cygwin/cygtls.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/cygtls.cc b/winsup/cygwin/cygtls.cc
index 297d9c6a5..89466a50e 100644
--- a/winsup/cygwin/cygtls.cc
+++ b/winsup/cygwin/cygtls.cc
@@ -146,9 +146,10 @@ _cygtls::fixup_after_fork ()
void
_cygtls::remove (DWORD wait)
{
- debug_printf ("wait %p", wait);
if (!isinitialized () || !locals.exitsock || exit_state >= ES_FINAL)
return;
+
+ debug_printf ("wait %p", wait);
if (wait)
{
/* FIXME: Need some sort of atthreadexit function to allow things like