Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 30, 2024

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 merged commit 19d468a into python:main Apr 30, 2024
34 checks passed
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