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 Simplify __all__ in multiprocessing (GH-6856) 2018-07-11 19:22:28 +09:00
connection.py bpo-17560: Too small type for struct.pack/unpack in mutliprocessing.Connection (GH-10305) 2018-11-06 20:38:34 +01:00
context.py Simplify __all__ in multiprocessing (GH-6856) 2018-07-11 19:22:28 +09:00
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 bpo-35202: Remove unused imports in Lib directory. (GH-10446) 2018-11-10 09:22:02 +02:00
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 bpo-35491: Enhance multiprocessing.BaseProcess.__repr__() (GH-11138) 2018-12-14 12:58:52 +01:00
queues.py bpo-22872: multiprocessing.Queue's put() and get() now raise ValueError if the queue is closed. (GH-9010) 2018-10-13 12:26:09 +03:00
reduction.py bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613) 2018-09-28 02:51:05 -07:00
resource_sharer.py
semaphore_tracker.py bpo-33613, test_semaphore_tracker_sigint: fix race condition (#7850) 2018-09-04 10:53:54 +02:00
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 bpo-34054: multiprocessing uses time.monotonic() (GH-8118) 2018-07-06 13:51:52 +02:00
util.py