diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-05 06:36:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-05 06:36:50 +0000 |
commit | cbdbe9d766cdf8a3b48d20563d9983db6e6f16f8 (patch) | |
tree | 3786b179eae2dbd06779215a34de7dccf7b7d1a6 | |
parent | 8b052ae3f6d2f839b42926614eb43ff91d4efd9c (diff) | |
download | newlib-cbdbe9d766cdf8a3b48d20563d9983db6e6f16f8.zip newlib-cbdbe9d766cdf8a3b48d20563d9983db6e6f16f8.tar.gz newlib-cbdbe9d766cdf8a3b48d20563d9983db6e6f16f8.tar.bz2 |
* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock when
leaving.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/pinfo.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 2c2e9eb..4060b1f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2003-01-05 Christopher Faylor <cgf@redhat.com> + + * pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just + lock when leaving. + 2003-01-03 Christopher Faylor <cgf@redhat.com> * dtable.h (dtable::in_vfork_cleanup): New function. True if vfork diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 3c5af4b..336405f 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -424,7 +424,7 @@ err: res.n = 0; out: myself->hello_pid = 0; - LeaveCriticalSection (&lock); + LeaveCriticalSection (&myself->lock); return res; } |