mirror of
https://github.com/python/cpython.git
synced 2026-01-01 21:14:02 +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 | ||