This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog fork.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 15 Nov 2007 20:32:12 -0000
- Subject: src/winsup/cygwin ChangeLog fork.cc
CVSROOT: /cvs/src
Module name: src
Branch: cr-0x5f1
Changes by: corinna@sourceware.org 2007-11-15 20:32:12
Modified files:
winsup/cygwin : ChangeLog fork.cc
Log message:
2007-03-01 Christopher Faylor <me@cgf.cx>
* fork.cc (fork): Reset child to true after fork since it may have been
reset by fork memory copies.
2007-02-22 Christopher Faylor <me@cgf.cx>
* fork.cc (frok::parent): Make argument volatile.
(frok::child): Ditto.
(lock_signals): New class.
(lock_pthread): Ditto.
(hold_everhthing): Ditto.
(frok::parent): Move atforkprepare and atforkparent to lock_pthread
class.
(fork): Make ischild boolean. Use hold_everything variable within
limited scope to set various mutexes in such a way as to avoid
deadlocks.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.3582.2.32&r2=1.3582.2.33
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.185.2.3&r2=1.185.2.4