* 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

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