mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
+1
-1
@@ -292,7 +292,7 @@ fn store_relaxed(&mut self, clocks: &ThreadClockSet, index: VectorIdx) -> Result
|
||||
|
||||
// The handling of release sequences was changed in C++20 and so
|
||||
// the code here is different to the paper since now all relaxed
|
||||
// stored block release sequences, the exception for same-thread
|
||||
// stores block release sequences. The exception for same-thread
|
||||
// relaxed stores has been removed.
|
||||
let atomic = self.atomic_mut();
|
||||
atomic.sync_vector.clone_from(&clocks.fence_release);
|
||||
|
||||
Reference in New Issue
Block a user