Memory Ordering
`memory_order_relaxed`, `acquire`, `release`, `seq_cst` control visibility of writes between threads.
Expert
Use the default seq_cst unless you can prove a weaker ordering is correct.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.