Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Revive the branch in the implementation of eastl::atomic compare_exchange for the MSVC backend.#581

Merged
grojo-ea merged 1 commit intomasterfrom
revive-the-cmpxch-branch-on-msvc
Aug 6, 2025
Merged

Revive the branch in the implementation of eastl::atomic compare_exchange for the MSVC backend.#581
grojo-ea merged 1 commit intomasterfrom
revive-the-cmpxch-branch-on-msvc

Conversation

@grojo-ea
Copy link
Contributor

@grojo-ea grojo-ea commented Aug 6, 2025

This should fix #580.
See https://herbsutter.com/2014/02/19/reader-qa-is-stdatomic_compare_exchange_-implementable/ for some related discussion on why this is necessary, this comment is particularly enlightening.

@grojo-ea grojo-ea merged commit 9d2e8a0 into master Aug 6, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

eastl::atomic compare_exchange needs the branch to avoid a race

1 participant