◐ Shell
clean mode source ↗

gh-120524: Avoid a Race On _PyRuntime.types.managed_static.types[i].interp_count by ericsnowcurrently · Pull Request #120529 · python/cpython

@ericsnowcurrently

Fidget-Spinner

kumaraditya303

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jun 17, 2024
…s[i].interp_count (pythongh-120529)

pythongh-120182 added new global state (interp_count), but didn't add thread-safety for it.  This change eliminates the possible race.
(cherry picked from commit 2c66318)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>

ericsnowcurrently added a commit that referenced this pull request

Jun 17, 2024
…es[i].interp_count (gh-120657)

gh-120182 added new global state (interp_count), but didn't add thread-safety for it.  This change eliminates the possible race.

(cherry picked from commit 2c66318, AKA gh-120529)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>

mrahtz pushed a commit to mrahtz/cpython that referenced this pull request

Jun 30, 2024
…s[i].interp_count (pythongh-120529)

pythongh-120182 added new global state (interp_count), but didn't add thread-safety for it.  This change eliminates the possible race.

noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request

Jul 11, 2024
…s[i].interp_count (pythongh-120529)

pythongh-120182 added new global state (interp_count), but didn't add thread-safety for it.  This change eliminates the possible race.

estyxx pushed a commit to estyxx/cpython that referenced this pull request

Jul 17, 2024
…s[i].interp_count (pythongh-120529)

pythongh-120182 added new global state (interp_count), but didn't add thread-safety for it.  This change eliminates the possible race.