summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing/forkserver.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-31308: If multiprocessing's forkserver dies, launch it again when ↵Antoine Pitrou2017-11-031-5/+16
| | | | | | | | | | | | | | | | | | | | | | necessary (GH-3246) (#4252) * 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 fc6b348b12ad401cab0261b7b71a65c60a08c0a8)
* [3.6] bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver (GH-1319) ↵Antoine Pitrou2017-05-041-6/+14
| | | | | | | | (#1454) * bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver * Tweak comment. (cherry picked from commit 6dd4d734ed207ba16b017e38f8909de7ef187e29)
* Issue #28053: Applying refactorings, docs and other cleanup to follow.Davin Potts2016-09-091-1/+1
|
* Issue #25654:Victor Stinner2016-03-251-7/+1
| | | | | | | | | * multiprocessing: open file with closefd=False to avoid ResourceWarning * _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a previous test forgot to remove TESTFN) * test_sys_exit(): remove TESTFN after each loop iteration Initial patch written by Serhiy Storchaka.
* Issue #23285: PEP 475 -- Retry system calls failing with EINTR.Charles-François Natali2015-02-071-16/+2
|
* Issue #21566: Make use of socket.listen() default backlog.Charles-François Natali2014-07-231-1/+1
|
* Issue #18999: Make multiprocessing use context objects.Richard Oudkerk2013-10-161-101/+113
| | | | | This allows different parts of a program to use different methods for starting processes without interfering with each other.
* Issue #18934: multiprocessing: use selectors module.Charles-François Natali2013-09-051-4/+10
|
* Issue #18865: PEP 446 makes multiprocessing.util.pipe() unnecessary.Richard Oudkerk2013-08-281-1/+1
|
* Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-2/+2
| | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* Stop making fork server have copy of semaphore_tracker_fd.Richard Oudkerk2013-08-221-6/+7
|
* Issue #18762: Fix EBADF error when using forkserver.Richard Oudkerk2013-08-221-30/+25
|
* Issue #18762: Print debug info on failure to create new forkserver process.Richard Oudkerk2013-08-211-0/+15
| | | | Also modify test code to hopefully avoid deadlock on failure.
* Issue #8713: Support alternative start methods in multiprocessing on Unix.Richard Oudkerk2013-08-141-0/+238
See http://hg.python.org/sandbox/sbt#spawn