Skip to content

Commit 7a2b114

Browse files
committed
AcqRel for good measure
1 parent 0224c04 commit 7a2b114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/seqno.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl SequenceNumberCounter {
6464
#[must_use]
6565
#[allow(clippy::missing_panics_doc, reason = "we should never run out of u64s")]
6666
pub fn next(&self) -> SeqNo {
67-
let seqno = self.0.fetch_add(1, Release);
67+
let seqno = self.0.fetch_add(1, AcqRel);
6868

6969
// The MSB is reserved for transactions.
7070
//

0 commit comments

Comments
 (0)