diff options
author | Andrii Kuzmin <jack.cvr@gmail.com> | 2023-05-26 08:48:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-25 22:48:40 -0700 |
commit | 0242e9a57aa87ed0b5cac526f65631c654a39054 (patch) | |
tree | caec5b07e00521b9e0789bd46f44a8ac1c0485ff /Python/emscripten_signal.c | |
parent | 72c3d2e105f120f6f2bce410699b34dac4e948fd (diff) | |
download | cpython-0242e9a57aa87ed0b5cac526f65631c654a39054.tar.gz cpython-0242e9a57aa87ed0b5cac526f65631c654a39054.zip |
gh-102024: Reduced _idle_semaphore.release calls (#102025)
Reduced _idle_semaphore.release calls in concurrent.futures.thread._worker
_idle_semaphore.release() is now only called if only work_queue is empty.
---------
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Diffstat (limited to 'Python/emscripten_signal.c')
0 files changed, 0 insertions, 0 deletions