src/winsup/cygwin ChangeLog fork.cc
corinna@cygwin.com
corinna@cygwin.com
Thu Nov 15 20:32:00 GMT 2007
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
More information about the Cygwin-cvs
mailing list