commit | fee3a2dd8cf984b8261032086fe513bf7327b601 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Aug 27 17:34:07 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Aug 27 17:34:07 2000 +0000 |
tree | 2a579f921c3203bc159adcfd554961755cb1dc5b | |
parent | c79519569d20d90cc9ec6ff8584dfd959bd2e1f1 [diff] [blame] |
Charles Waldman's patch to reinitialize the interpreter lock after a fork. This solves the test_fork1 problem. (ceval.c, signalmodule.c, intrcheck.c) SourceForge: [ Patch #101226 ] make threading fork-safe
diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c index 519f404..d20ed61 100644 --- a/Parser/intrcheck.c +++ b/Parser/intrcheck.c
@@ -195,4 +195,7 @@ void PyOS_AfterFork(void) { +#ifdef WITH_THREAD + PyEval_ReInitThreads(); +#endif }