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>2005-01-29 08:39:07 +0300
committerChristopher Faylor <me@cgf.cx>2005-01-29 08:39:07 +0300
commit2eeb0e70a3c08c88e91283028bc2f89d8f237971 (patch)
treee579243b71f39e46cb78fed400946fedfbfa80f8 /winsup/cygwin/thread.cc
parent139acfca40f98f871addac67430ea69a8de6f0f5 (diff)
* cygthread.cc (new): Add a little more debugging.
* thread.cc (pthread_null::exit): Add a _my_tls.remove() for safety.
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r--winsup/cygwin/thread.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc
index b6c2e94d5..39e33d17c 100644
--- a/winsup/cygwin/thread.cc
+++ b/winsup/cygwin/thread.cc
@@ -3288,6 +3288,7 @@ pthread_null::create (void *(*)(void *), pthread_attr *, void *)
void
pthread_null::exit (void *value_ptr)
{
+ _my_tls.remove (INFINITE);
ExitThread (0);
}