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

Conversation

@mpage

@mpage mpage commented

Feb 6, 2024

edited by bedevere-app bot

Loading

@mpage mpage marked this pull request as ready for review

February 6, 2024 19:12

@mpage

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

@mpage

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

colesbury

Choose a reason for hiding this comment

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

LGTM

ericsnowcurrently

Choose a reason for hiding this comment

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

LGTM

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.

Labels