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

gh-114271: Make `PyInterpreterState.threads.count` thread-safe in free-threaded builds by mpage · Pull Request #115093 · python/cpython · GitHub

Repository navigation

gh-114271: Make PyInterpreterState.threads.count thread-safe in free-threaded builds - #115093

Merged
ericsnowcurrently merged 1 commit into
python:mainfrom
mpage:gh-114271-threads.count
Feb 12, 2024
Merged

ericsnowcurrently merged 1 commit into
python:mainfrom
mpage:gh-114271-threads.count

Conversation

mpage commented Feb 6, 2024 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Use atomics to mutate PyInterpreterState.threads.count

mpage force-pushed the gh-114271-threads.count branch from b22b2f0 to 7274538 Compare February 6, 2024 17:37
mpage marked this pull request as ready for review February 6, 2024 19:12

mpage commented Feb 6, 2024

Copy link
Copy Markdown
Contributor Author

@colesbury - Can you add the "skip news" label to this?

mpage commented Feb 12, 2024

Copy link
Copy Markdown
Contributor Author

@colesbury - Would you take a look at this, please?

colesbury left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

ericsnowcurrently left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

ericsnowcurrently merged commit de7d67b into python:main Feb 12, 2024
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request Feb 14, 2024
…in free-threaded builds (pythongh-115093)

Use atomics to mutate PyInterpreterState.threads.count.
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL