* cygthread.cc (new): Add a little more debugging.

* thread.cc (pthread_null::exit): Add a _my_tls.remove() for safety.
This commit is contained in:
Christopher Faylor
2005-01-29 05:39:07 +00:00
parent 139acfca40
commit 2eeb0e70a3
3 changed files with 7 additions and 1 deletions

View File

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