[issue39557] ThreadPoolExecutor is busy-waiting when idle.
Avraham Mahfuda
report at bugs.python.org
Wed Feb 5 03:23:03 EST 2020
Avraham Mahfuda <avraham.mahfuda at bloxroute.com> added the comment:
If I understand the following code correctly, there seems to be a busy loop waiting for the SimpleQueue.put to signal that an item was entered to queue.
https://github.com/python/cpython/blob/3.7/Modules/_queuemodule.c#L217
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39557>
_______________________________________
More information about the Python-bugs-list
mailing list