Monthly Read Posts in June 2019
Concurrency
Memory Barriers Are Like Source Control Operations
用 VCS 来类比四种 memory fence
C++ provides acquire and release semantics, which are in fact founded on barriers.
acquire semantcis: #LoadLoad
and #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.
release sematncis: #StoreStore
and #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.
This Is Why They Call It a Weakly-Ordered CPU
Memory reordering in ARM cpus
Programming Languages
屎坑子真多。
深有感触…
而且居然还是2016年的文章