* cygheap.cc (cygheap_setup_for_child): Add api_fatal to catch failing

MapViewOfFileEx.
* cygthread.cc (cygthread::stub): Previous change to make diagnostic output
more informative was really a bust.  Try again.  Capture previous name in a new
field in cygthread for diagnostic purposes.
(cygthread::cygthread): Ditto.
(cygthread::release): Add an argument to control whether h should be cleared or
not.
(cygthread::terminate_thread): Use 'inuse' for tests rather than 'h'.
(cygthread): Add some diagnostic fields.
(cygthread::release): Add an argument.
* pinfo.cc (proc_waiter): Accommodate change to cygthread::release.
This commit is contained in:
Christopher Faylor
2004-12-22 18:12:30 +00:00
parent 16bd231ec6
commit 63fcc6d48f
5 changed files with 52 additions and 13 deletions

View File

@@ -764,7 +764,7 @@ proc_waiter (void *arg)
sigproc_printf ("exiting wait thread for pid %d", pid);
vchild.wait_thread = NULL;
_my_tls._ctinfo->release (); /* return the cygthread to the cygthread pool */
_my_tls._ctinfo->release (false); /* return the cygthread to the cygthread pool */
return 0;
}