Skip to content

Conversation

CXWorks
Copy link

@CXWorks CXWorks commented May 7, 2025

As discussed in #113 , we want to change the load acq to explict fence acq to guarantee the memory fence.
This behavior also matches to the std in Rust.

For details, please check:

  1. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4455.html
  2. Use a load rather than a fence when dropping the contents of an Arc. rust-lang/rust#41714

@Manishearth Manishearth merged commit c3a4a08 into Manishearth:master May 7, 2025
6 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.

3 participants