Skip to content

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

2 participants