]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
(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)
commit3bcc0170bdd5dca6b87c12c7894454e352b53492
treeb4fc5e62be84b98b8e9c38f29f00bfc131dd9ed8
parentac6602bdc17973c121ea6cce9ae6768a9e5db8c3
parent0f83b1511c76e892b48b16d656cceb032bdb9cb3
(Merge 3.2) Issue #12310: finalize the old process after _run_after_forkers()

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.
Lib/multiprocessing/process.py