* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock when

leaving.
This commit is contained in:
Christopher Faylor 2003-01-05 06:36:50 +00:00
parent 8b052ae3f6
commit cbdbe9d766
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -424,7 +424,7 @@ err:
res.n = 0;
out:
myself->hello_pid = 0;
LeaveCriticalSection (&lock);
LeaveCriticalSection (&myself->lock);
return res;
}