* 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:
parent
139acfca40
commit
2eeb0e70a3
@ -1,3 +1,8 @@
|
||||
2005-01-29 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* cygthread.cc (new): Add a little more debugging.
|
||||
* thread.cc (pthread_null::exit): Add a _my_tls.remove() for safety.
|
||||
|
||||
2005-01-28 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* cygtls.cc (cygtls::call2): Move socket cleanup.
|
||||
|
@ -141,7 +141,7 @@ new (size_t)
|
||||
/* available */
|
||||
#ifdef DEBUGGING
|
||||
if (info->__name)
|
||||
api_fatal ("name not NULL? id %p, i %d", info->id, info - threads);
|
||||
api_fatal ("name not NULL? %s, id %p, i %d", info->__name, info->id, info - threads);
|
||||
#endif
|
||||
goto out;
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user