cpython/Lib/multiprocessing
Pablo Galindo 7c994549dc
bpo-35493: Use Process.sentinel instead of sleeping for polling worker status in multiprocessing.Pool (#11488)
* bpo-35493: Use Process.sentinel instead of sleeping for polling worker status in multiprocessing.Pool

* Use self-pipe pattern to avoid polling for changes

* Refactor some variable names and add comments

* Restore timeout and poll

* Use reader object only on wait()

* Recompute worker sentinels every time

* Remove timeout and use change notifier

* Refactor some methods to be overloaded by the ThreadPool, document the cache class and fix typos
2019-03-16 22:34:24 +00:00
..
dummy
__init__.py
connection.py
context.py
forkserver.py
heap.py
managers.py bpo-35813: Tests and docs for shared_memory (#11816) 2019-02-23 22:08:16 -06:00
pool.py bpo-35493: Use Process.sentinel instead of sleeping for polling worker status in multiprocessing.Pool (#11488) 2019-03-16 22:34:24 +00:00
popen_fork.py
popen_forkserver.py
popen_spawn_posix.py
popen_spawn_win32.py bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745) 2019-02-03 23:19:38 -08:00
process.py
queues.py
reduction.py
resource_sharer.py
semaphore_tracker.py
shared_memory.py bpo-36102: Prepend slash to all POSIX shared memory block names (#12036) 2019-02-25 16:41:52 -06:00
sharedctypes.py
spawn.py bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745) 2019-02-03 23:19:38 -08:00
synchronize.py
util.py