cpython/Lib/multiprocessing
Miss Islington (bot) 8b1ebcd7cb
bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921)
Fix a race condition in Popen of
multiprocessing.popen_spawn_win32. The child process now duplicates
the read end of pipe instead of "stealing" it.

Previously, the read end of pipe was "stolen" by the child process,
but it leaked a handle if the child process had been terminated
before it could steal the handle from the parent process.
(cherry picked from commit 2cc9d21fff)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
2018-06-27 02:59:44 -07:00
..
dummy bpo-5001: More-informative multiprocessing error messages (#3079) 2017-08-30 00:52:18 +02:00
__init__.py Issue #18999: Make multiprocessing use context objects. 2013-10-16 16:41:56 +01:00
connection.py bpo-5001: More-informative multiprocessing error messages (#3079) 2017-08-30 00:52:18 +02:00
context.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
forkserver.py bpo-31308: If multiprocessing's forkserver dies, launch it again when necessary (#3246) 2017-11-03 13:34:22 +01:00
heap.py bpo-5001: More-informative multiprocessing error messages (#3079) 2017-08-30 00:52:18 +02:00
managers.py bpo-5001: More-informative multiprocessing error messages (#3079) 2017-08-30 00:52:18 +02:00
pool.py bpo-32576: use queue.SimpleQueue in critical places (#5216) 2018-01-18 10:38:03 +01:00
popen_fork.py bpo-31804: Fix multiprocessing.Process with broken standard streams (GH-6079) (GH-6080) 2018-03-11 19:42:37 +01:00
popen_forkserver.py Fix bpo-30596: Add close() method to multiprocessing.Process (#2010) 2017-06-24 19:22:23 +02:00
popen_spawn_posix.py Fix bpo-30596: Add close() method to multiprocessing.Process (#2010) 2017-06-24 19:22:23 +02:00
popen_spawn_win32.py bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921) 2018-06-27 02:59:44 -07:00
process.py bpo-31804: Fix multiprocessing.Process with broken standard streams (GH-6079) (GH-6080) 2018-03-11 19:42:37 +01:00
queues.py bpo-33078 - Fix queue size on pickling error (GH-6119) (GH-6178) 2018-03-21 17:21:15 +01:00
reduction.py bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921) 2018-06-27 02:59:44 -07:00
resource_sharer.py bpo-5001: More-informative multiprocessing error messages (#3079) 2017-08-30 00:52:18 +02:00
semaphore_tracker.py bpo-31310: multiprocessing's semaphore tracker should be launched again if crashed (#3247) 2017-11-03 14:31:38 +01:00
sharedctypes.py bpo-32157: Removed explicit quotes around %r and {!r}. (#4582) 2017-11-28 22:54:42 +02:00
spawn.py bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921) 2018-06-27 02:59:44 -07:00
synchronize.py bpo-5001: More-informative multiprocessing error messages (#3079) 2017-08-30 00:52:18 +02:00
util.py bpo-31804: Fix multiprocessing.Process with broken standard streams (GH-6079) (GH-6080) 2018-03-11 19:42:37 +01:00