Skip to content
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

AcqRel -> Release for compare_exchange success ordering in race module #221

Closed
wants to merge 2 commits into from

Conversation

Imberflur
Copy link
Contributor

Implements change discussed in #220

Since the load during success for compare exchange is `0`/`null` and no
`Release` store of this value exists, using an `Aquire` load for this
case adds no additional synchronization.

Fixes matklad#220
@Imberflur Imberflur marked this pull request as draft February 14, 2023 14:59
bors bot added a commit that referenced this pull request Feb 14, 2023
222: Bump version to 1.17.1 and update the changelog. r=matklad a=Imberflur

Adds changelog entry for #219

Extracted from #221 since that needs [a higher MSRV ](rust-lang/rust#98383).

Co-authored-by: Imbris <[email protected]>
@Imberflur
Copy link
Contributor Author

Going to close this for now due to MSRV

@Imberflur Imberflur closed this Feb 14, 2023
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.

1 participant