Monthly Read Posts in June 2019
用 VCS 来类比四种 memory fence
C++ provides acquire and release semantics, which are in fact founded on barriers.
#LoadStore; apply to read operations.
Acquire semantics prevent memory reordering of the read-acquire with any read or write operation that follows it in program order.
#LoadStore; apply to write operations.
Release semantics prevent memory reordering of the write-release with any read or write operation that precedes it in program order.
Categories of memory models.
Memory reordering in ARM cpus