]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(Merge 3.2) Issue #12310: finalize the old process after _run_after_forkers()
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 17 Jun 2011 10:36:26 +0000 (12:36 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 17 Jun 2011 10:36:26 +0000 (12:36 +0200)
multiprocessing: Process._bootstrap() keeps a reference to the old process to
delay its finalization until after _run_after_forkers() as been executed. This
change should fix a crash on Mac OS X Tiger when a lock is released after a
fork.

Patch written by Charles-François Nataliv and Antoine Pitrou.

1  2 
Lib/multiprocessing/process.py

Simple merge