FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.12] gh-102024: Reduced _idle_semaphore.release calls (GH-102025) by miss-islington · Pull Request #104959 · python/cpython · GitHub

/ cpython Public

[3.12] gh-102024: Reduced _idle_semaphore.release calls (GH-102025) - #104959

Merged
gpshead merged 1 commit into
python:3.12from
miss-islington:backport-0242e9a-3.12
May 26, 2023
Merged

[3.12] gh-102024: Reduced _idle_semaphore.release calls (GH-102025)#104959
gpshead merged 1 commit into
python:3.12from
miss-islington:backport-0242e9a-3.12

Conversation

miss-islington commented May 26, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

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>
gpshead enabled auto-merge (squash) May 26, 2023 05:49
gpshead self-assigned this May 26, 2023
gpshead merged commit 8010cef into python:3.12 May 26, 2023
miss-islington deleted the backport-0242e9a-3.12 branch May 26, 2023 06:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to 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


Back | FazBrowse Home | New Git URL