aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/pinfo.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-12-22 18:12:30 +0000
committerChristopher Faylor <me@cgf.cx>2004-12-22 18:12:30 +0000
commit63fcc6d48f520c75e179cc3c1599a6810cfd1943 (patch)
treeed535238cbe2dc07df52490dca1579f9d65408c6 /winsup/cygwin/pinfo.cc
parent16bd231ec6cd293020e4538544f3bd6170f4c6d0 (diff)
downloadnewlib-63fcc6d48f520c75e179cc3c1599a6810cfd1943.zip
newlib-63fcc6d48f520c75e179cc3c1599a6810cfd1943.tar.gz
newlib-63fcc6d48f520c75e179cc3c1599a6810cfd1943.tar.bz2
* 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.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 508ed5c..af0b893 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -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;
}