Skip to content

csdn wxj1992 "C++ memory order循序渐进" 系列

这个作者的"C++ memory order循序渐进" 系列文章写得不错。

1、C++ memory order循序渐进(一)—— 多核编程中的lock free和memory model

2、C++ memory order循序渐进(二)—— C++ memory order基本定义和形式化描述所需术语关系详解

这篇文章非常好,它其实是对 cppreference std::memory_order

1、 "Constants"段

2、"Formal description"段

的翻译和注解,并且翻译地还不错,所以我将它的内容直接融入了 std-memory_order 章节中。

3、C++ memory order循序渐进(三)—— 原子变量上组合应用memory order实现不同的内存序

它对应的是 cppreference std::memory_order 的 "Explanation" 段。

4、C++ memory order循序渐进(四)—— 在std::atomic_thread_fence 上应用std::memory_order实现不同的内存序

5、C++ memory order循序渐进(五)—— C++ memory order在编译器和cpu层面的具体实现