]> granicus.if.org Git - python/commit
[3.6] bpo-31310: multiprocessing's semaphore tracker should be launched again if...
authorAntoine Pitrou <pitrou@free.fr>
Fri, 3 Nov 2017 13:58:37 +0000 (14:58 +0100)
committerGitHub <noreply@github.com>
Fri, 3 Nov 2017 13:58:37 +0000 (14:58 +0100)
commitb5f09acf0a0219cec32b7eba3acdcb573fc74ab5
tree2c16266d244c854a60cf4343641b4702817279f1
parentf8b3f6b178e48773cd7298141cbaf408c6917e41
[3.6] bpo-31310: multiprocessing's semaphore tracker should be launched again if crashed (GH-3247) (#4254)

* bpo-31310: multiprocessing's semaphore tracker should be launched again if crashed

* Avoid mucking with process state in test.
Add a warning if the semaphore process died, as semaphores may then be leaked.

* Add NEWS entry
(cherry picked from commit cbe1756)
Lib/multiprocessing/semaphore_tracker.py
Lib/test/_test_multiprocessing.py
Misc/NEWS.d/next/Library/2017-08-30-18-23-54.bpo-31310.7D1UNt.rst [new file with mode: 0644]