Rel-Acq doesn't guarantee a global order but SeqCst does?

· Users Rust Lang · Oct. 22, 2026, 6:23 p.m.
Summary
The blog post discusses the differences between relaxed atomic operations and sequential consistency (SeqCst) in concurrent programming. It explains how relaxed loads and stores do not provide guarantees about the ordering of values across different atomics, while SeqCst enforces a strict order that all threads can agree on, ensuring consistent observation of atomic values. The author illustrates these concepts through examples involving multiple threads interacting with atomic variables, highlighting the importance of SeqCst in maintaining coherence in concurrent systems.
AUTHOR