Skip to content

[gh-117657] Fix some issues with TSAN in typeobject - #118249

Merged
DinoV merged 1 commit into
python:mainfrom
DinoV:nogil_type_tsan
Apr 30, 2024
Merged

[gh-117657] Fix some issues with TSAN in typeobject#118249
DinoV merged 1 commit into
python:mainfrom
DinoV:nogil_type_tsan

Conversation

@DinoV

@DinoVDinoV commented Apr 24, 2024

Copy link
Copy Markdown
Contributor

The tp_version field is updated under a lock, but it can be read lock-free. The assigns and reads from it need to use relaxed atomics.

@DinoV
DinoV merged commit 19d468a into python:mainApr 30, 2024
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
@DinoV
DinoV deleted the nogil_type_tsan branch May 31, 2024 18:22
Sign up for freeto 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.

2 participants

@DinoV@colesbury