Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commented May 26, 2023

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 0242e9a)

Co-authored-by: Andrii Kuzmin jack.cvr@gmail.com
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Shantanu 12621235+hauntsaninja@users.noreply.github.com

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 0242e9a) Co-authored-by: Andrii Kuzmin <jack.cvr@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
@gpsheadgpshead enabled auto-merge (squash) May 26, 2023 05:49
@gpsheadgpshead self-assigned this May 26, 2023
@gpsheadgpshead merged commit 8010cef into python:3.12May 26, 2023
@miss-islingtonmiss-islington deleted the backport-0242e9a-3.12 branch May 26, 2023 06:21
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington@gpshead@bedevere-bot@jackcvr