-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Correct memory order of _Py_atomic_store_uint_release #141562
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
Correct memory order of _Py_atomic_store_uint_release #141562
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Also skip news here |
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 doesn’t appear to have a linked issue or be a trivial change
I would create one that explains the problem in detail, unless I am mistaken. :)
|
I believe the person you're looking for is @colesbury To me, this seems trivial; I don't see any need to create an issue, especially since we don't actually use |
Probably for the best |
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.
I think it is correct. We already have the relaxed form for uint (it is located some lines above and not visible in the diff) but we lack its release form.
|
LGTM |
|
Thanks @SubbaraoGarlapati for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
(cherry picked from commit 7800b78) Co-authored-by: SubbaraoGarlapati <53627478+SubbaraoGarlapati@users.noreply.github.com>
|
GH-141663 is a backport of this pull request to the 3.14 branch. |
Change
_Py_atomic_store_uint_release()from usingmemory_order_relaxedtomemory_order_release.