]> granicus.if.org Git - python/commit
Issue #12310: finalize the old process after _run_after_forkers()
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 17 Jun 2011 10:31:49 +0000 (12:31 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 17 Jun 2011 10:31:49 +0000 (12:31 +0200)
commit0f83b1511c76e892b48b16d656cceb032bdb9cb3
tree5ab5a54f9aa47924d9d8888abecbf2b851da1e1d
parentb4cfa3ad6391d570d068a142052d6bc0f2602890
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