diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-03-16 22:34:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-16 22:34:24 (GMT) |
commit | 7c994549dcffd0d9d3bb37475e6374f356e7240e (patch) | |
tree | 7b59c744c1900c05e920b1eeca1526d9fa886f87 /Lib/idlelib/replace.py | |
parent | 962bdeab191ee64459caa199209331005797ea7a (diff) | |
download | cpython-7c994549dcffd0d9d3bb37475e6374f356e7240e.zip cpython-7c994549dcffd0d9d3bb37475e6374f356e7240e.tar.gz cpython-7c994549dcffd0d9d3bb37475e6374f356e7240e.tar.bz2 |
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
Diffstat (limited to 'Lib/idlelib/replace.py')
0 files changed, 0 insertions, 0 deletions