Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-117657: Fix data races reported by TSAN oninterp->threads.main
#118865
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Use relaxed loads/stores when reading/writing to this field.This fixes races likehttps://gist.github.com/mpage/e07497ad8dd444a789ff306cb7996acc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This looks good to me.
Can we remove any TSan suppressions after this change? I'm merging#118722 now, so you might want to wait a little bit and then mergemain
into this PR.
Sounds good. I'll wait until you merge#118722 then update this PR to remove the appropriate suppressions. |
Thanks@mpage for the PR, and@colesbury for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…main` (pythonGH-118865)Use relaxed loads/stores when reading/writing to this field.(cherry picked from commit22d5185)Co-authored-by: mpage <mpage@meta.com>
GH-118904 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Use relaxed loads/stores when reading/writing to this field.
This fixes races likehttps://gist.github.com/mpage/e07497ad8dd444a789ff306cb7996acc