FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[gh-117657] Fix some issues with TSAN in typeobject by DinoV · Pull Request #118249 · python/cpython · GitHub

/ cpython Public

[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 commented Apr 24, 2024
edited by bedevere-app Bot
Loading

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 force-pushed the nogil_type_tsan branch from f6d482e to 8daa151 Compare April 30, 2024 18:41
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 deleted the nogil_type_tsan branch May 31, 2024 18:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL