You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The atomics in READY are only read with Relaxed ordering in line 21. Can't the store in line 17 be done with memory ordering Relaxed (instead of Release), since relaxed is enough to establish a total order between stores and loads of the same variable?
The text was updated successfully, but these errors were encountered:
The content that the question is about
The store in
READY
: https://github.com/m-ou-se/rust-atomics-and-locks/blob/main/examples/ch3-11-fence.rs#L17The question
The atomics in
READY
are only read withRelaxed
ordering in line 21. Can't the store in line 17 be done with memory orderingRelaxed
(instead ofRelease
), since relaxed is enough to establish a total order between stores and loads of the same variable?The text was updated successfully, but these errors were encountered: