Skip to content

Conversation

DinoV
Copy link
Contributor

@DinoV DinoV commented Apr 24, 2024

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 force-pushed the nogil_type_tsan branch from f6d482e to 8daa151 Compare April 30, 2024 18:41
@DinoV DinoV merged commit 19d468a into python:main Apr 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 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.

2 participants