cpython/Lib/multiprocessing
Gregory P. Smith cd5726fe67
gh-91401: Add a failsafe way to disable vfork. (#91490)
Just in case there is ever an issue with _posixsubprocess's use of
vfork() due to the complexity of using it properly and potential
directions that Linux platforms where it defaults to on could take, this
adds a failsafe so that users can disable its use entirely by setting
a global flag.

No known reason to disable it exists. But it'd be a shame to encounter
one and not be able to use CPython without patching and rebuilding it.

See the linked issue for some discussion on reasoning.

Also documents the existing way to disable posix_spawn.
2022-04-25 16:19:39 -07:00
..
dummy
__init__.py
connection.py
context.py
forkserver.py
heap.py
managers.py gh-91231: Add shutdown_timeout to multiprocessing BaseManager (#32112) 2022-04-19 16:27:00 +02:00
pool.py
popen_fork.py
popen_forkserver.py
popen_spawn_posix.py
popen_spawn_win32.py
process.py bpo-46565: del loop vars that are leaking into module namespaces (GH-30993) 2022-02-03 11:20:08 +02:00
queues.py
reduction.py
resource_sharer.py
resource_tracker.py
shared_memory.py
sharedctypes.py
spawn.py bpo-46720: Add support for path-like objects to multiprocessing.set_executable for Windows (GH-31279) 2022-04-22 15:47:09 -07:00
synchronize.py bpo-25066: Added repr for multiprocessing.Event (GH-29749) 2021-12-09 13:16:45 +00:00
util.py gh-91401: Add a failsafe way to disable vfork. (#91490) 2022-04-25 16:19:39 -07:00