mirror of
https://github.com/python/cpython.git
synced 2026-01-03 22:12:27 +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
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _base.py | ||
| process.py | ||
| thread.py | ||