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 bpo-5001: More-informative multiprocessing error messages (#3079) 2017-08-30 00:52:18 +02:00
__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 bpo-31308: If multiprocessing's forkserver dies, launch it again when necessary (#3246) 2017-11-03 13:34:22 +01:00
heap.py bpo-32759: Free unused arenas in multiprocessing.heap (GH-5827) 2018-04-09 17:37:55 +02:00
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 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-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 bpo-33332: Add signal.valid_signals() (GH-6581) 2018-05-04 13:00:50 +02:00
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 bpo-32157: Removed explicit quotes around %r and {!r}. (#4582) 2017-11-28 22:54:42 +02:00
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 bpo-31804: Fix multiprocessing.Process with broken standard streams (#6079) 2018-03-11 19:21:38 +01:00