mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
gh-102024: Reduced _idle_semaphore.release calls (GH-102025)
Reduced _idle_semaphore.release calls in concurrent.futures.thread._worker
_idle_semaphore.release() is now only called if only work_queue is empty.
---------
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| futures | ||
| __init__.py | ||