[issue11635] concurrent.futures uses polling

Antoine Pitrou report at bugs.python.org
Thu Mar 24 19:34:28 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

After studying the multiprocessing code, it turns out that Queue.get() with a timeout does its own rather high-frequency polling under Windows (see Modules/_multiprocessing/pipe_connection.c). Therefore, here is an updated patch which doesn't have a security timeout at all.

----------
Added file: http://bugs.python.org/file21378/cfpolling5.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11635>
_______________________________________


More information about the Python-bugs-list mailing list