commit | fb7a50fbb9d4728909382ba7f9eb65f2c0ab2d79 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@mad-scientist.com> | Mon Jul 14 06:06:48 2008 +0000 |
committer | Gregory P. Smith <greg@mad-scientist.com> | Mon Jul 14 06:06:48 2008 +0000 |
tree | 866d7f75ae2726e6ed468326858db91b08c02045 | |
parent | 4ec0c27eea99ebeb20042d2cc61c5dfa29e4b043 [diff] |
Fix posix.fork1() / os.fork1() to only call PyOS_AfterFork() in the child process rather than both parent and child. Does anyone actually use fork1()? It appears to be a Solaris thing but if Python is built with pthreads on Solaris, fork1() and fork() should be the same.