8000 [3.6] bpo-31308: If multiprocessing's forkserver dies, launch it again when necessary (GH-3246) by pitrou · Pull Request #4252 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.6] bpo-31308: If multiprocessing's forkserver dies, launch it again when necessary (GH-3246) #4252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 3, 2017

Conversation

pitrou
Copy link
Member
@pitrou pitrou commented Nov 3, 2017

…n when necessary (pythonGH-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..
(cherry picked from commit fc6b348)
@pitrou pitrou merged commit 019c99f into python:3.6 Nov 3, 2017
@pitrou pitrou deleted the backport-fc6b348-3.6 branch November 3, 2017 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0