diff options
author | Antoine Pitrou <pitrou@free.fr> | 2017-11-03 12:34:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-03 12:34:22 (GMT) |
commit | fc6b348b12ad401cab0261b7b71a65c60a08c0a8 (patch) | |
tree | 13920c1484d6d65b19a2e07101ce7416bc10db77 /Misc | |
parent | 4f57409a2f7bdf8fb559cddc7c6533ca2c471c67 (diff) | |
download | cpython-fc6b348b12ad401cab0261b7b71a65c60a08c0a8.zip cpython-fc6b348b12ad401cab0261b7b71a65c60a08c0a8.tar.gz cpython-fc6b348b12ad401cab0261b7b71a65c60a08c0a8.tar.bz2 |
bpo-31308: If multiprocessing's forkserver dies, launch it again when necessary (#3246)
* bpo-31308: If multiprocessing's forkserver dies, launch it again when necessary.
* Fix test on Windows
* Add NEWS entry
* Adopt a different approach: ignore SIGINT and SIGTERM, as in semaphore tracker.
* Fix comment
* Make sure the test doesn't muck with process state
* Also test previously-started processes
* Update 2017-08-30-17-59-36.bpo-31308.KbexyC.rst
* Avoid masking SIGTERM in forkserver. It's not necessary and causes a race condition in test_many_processes.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-08-30-17-59-36.bpo-31308.KbexyC.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-08-30-17-59-36.bpo-31308.KbexyC.rst b/Misc/NEWS.d/next/Library/2017-08-30-17-59-36.bpo-31308.KbexyC.rst new file mode 100644 index 0000000..6068b7f --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-08-30-17-59-36.bpo-31308.KbexyC.rst @@ -0,0 +1,2 @@ +Make multiprocessing's forkserver process immune to Ctrl-C and other user interruptions. +If it crashes, restart it when necessary. |