3 ms·
It matches C's semantics exactly, to the point where ARM chose a specific acquire/release to match the "sequential consistency for data-race-free programs" mode
by saagarjha 6y ago
It matches C's semantics exactly, to the point where ARM chose a specific acquire/release to match the "sequential consistency for data-race-free programs" model without requiring any global barriers or unnecessarily strong guarantees, while still allowing reordering.
(I should note that I believe this is actually C++'s memory model that C is using as well, and perhaps some other languages have adopted it too.)