diff options
author | Christopher Faylor <me@cgf.cx> | 2005-09-26 01:27:36 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-09-26 01:27:36 +0000 |
commit | 529649f98379650bb4f6d3f9c4770d3993dbd520 (patch) | |
tree | 34792c94c1c67aec207f8039f64aa1546d085692 /winsup | |
parent | 7b96339c80580d887eb4f112b6c8eeceb22f80ff (diff) | |
download | newlib-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')
-rw-r--r-- | winsup/cygwin/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/cygwin/pinfo.cc | 1 | ||||
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f52d3db..e875d8b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2005-09-25 Christopher Faylor <cgf@timesys.com> + + * sigproc.cc (wait_sig): Cosmetic change. + * pinfo.cc (pinfo::exit): Don't explicitly remove myself since some + other thread may still be using it. + 2005-09-24 Christopher Faylor <cgf@timesys.com> * sigproc.cc (sigproc_terminate): More reversion of 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); } diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 0ba1347..7482bcb 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -971,7 +971,7 @@ pending_signals::next () /* Process signals by waiting for signal data to arrive in a pipe. Set a completion event if one was specified. */ static DWORD WINAPI -wait_sig (VOID *self) +wait_sig (VOID *) { HANDLE readsig; PSECURITY_ATTRIBUTES sa_buf = (PSECURITY_ATTRIBUTES) alloca (1024); |