summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-03-16 22:34:24 (GMT)
committerGitHub <noreply@github.com>2019-03-16 22:34:24 (GMT)
commit7c994549dcffd0d9d3bb37475e6374f356e7240e (patch)
tree7b59c744c1900c05e920b1eeca1526d9fa886f87 /Misc/NEWS.d
parent962bdeab191ee64459caa199209331005797ea7a (diff)
downloadcpython-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 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2019-01-09-23-43-08.bpo-35493.kEcRGE.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-01-09-23-43-08.bpo-35493.kEcRGE.rst b/Misc/NEWS.d/next/Library/2019-01-09-23-43-08.bpo-35493.kEcRGE.rst
new file mode 100644
index 0000000..fa408c8
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-01-09-23-43-08.bpo-35493.kEcRGE.rst
@@ -0,0 +1,3 @@
+Use :func:`multiprocessing.connection.wait` instead of polling each 0.2
+seconds for worker updates in :class:`multiprocessing.Pool`. Patch by Pablo
+Galindo.