“Synchronizes-With”的解释

super-xcm / 2023-05-28 / 原文

C++11内存模型中涉及到“Synchronizes-With”,两线程间共享变量的同步语义,看到相关的一篇解释的文章(https://preshing.com/20130823/the-synchronizes-with-relation/)。因此转载该文章记录下来,便于后续有需要可以查阅。