• Victor Stinner's avatar
    bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921) · 2cc9d21f
    Victor Stinner yazdı
    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.
    2cc9d21f
Adı
Son kayıt (commit)
Son güncelleme
..
dummy Loading commit data...
__init__.py Loading commit data...
connection.py Loading commit data...
context.py Loading commit data...
forkserver.py Loading commit data...
heap.py Loading commit data...
managers.py Loading commit data...
pool.py Loading commit data...
popen_fork.py Loading commit data...
popen_forkserver.py Loading commit data...
popen_spawn_posix.py Loading commit data...
popen_spawn_win32.py Loading commit data...
process.py Loading commit data...
queues.py Loading commit data...
reduction.py Loading commit data...
resource_sharer.py Loading commit data...
semaphore_tracker.py Loading commit data...
sharedctypes.py Loading commit data...
spawn.py Loading commit data...
synchronize.py Loading commit data...
util.py Loading commit data...