基础预备:c++ automic类型以及c++内存模型
https://blog.csdn.net/qq_35865125/article/details/105611985
https://blog.csdn.net/qq_35865125/article/details/106936081
资料1:
《C++ concurrency in action, second editon》by Anthony Wiliams, chapter 7,
资料2:
《Effective Modern C++》Item 40:Use std::atomic for concurrency:
https://blog.csdn.net/qq_35865125/article/details/104101751