aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/pinfo.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-26 01:27:36 +0000
committerChristopher Faylor <me@cgf.cx>2005-09-26 01:27:36 +0000
commit529649f98379650bb4f6d3f9c4770d3993dbd520 (patch)
tree34792c94c1c67aec207f8039f64aa1546d085692 /winsup/cygwin/pinfo.cc
parent7b96339c80580d887eb4f112b6c8eeceb22f80ff (diff)
downloadnewlib-529649f98379650bb4f6d3f9c4770d3993dbd520.zip
newlib-529649f98379650bb4f6d3f9c4770d3993dbd520.tar.gz
newlib-529649f98379650bb4f6d3f9c4770d3993dbd520.tar.bz2
* sigproc.cc (wait_sig): Cosmetic change.
* pinfo.cc (pinfo::exit): Don't explicitly remove myself since some other thread may still be using it.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index e2e6218..e4f773c 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -161,7 +161,6 @@ pinfo::exit (DWORD n)
int exitcode = self->exitcode & 0xffff;
if (!self->cygstarted)
exitcode >>= 8;
- release ();
sigproc_printf ("Calling ExitProcess n %p, exitcode %p", n, exitcode);
ExitProcess (exitcode);
}