摘要: 参考: C++ Concurrency In Action 2rd 第5章 https://stackoverflow.com/questions/14861822/acquire-release-versus-sequentially-consistent-memory-order https:/ 阅读全文
posted @ 2022-07-21 17:46 小夕nike 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 参考: C++ Concurrency In Action 2rd 第6章 实验环境: system: centos 8.1 / arch: x86_64 / kernel: 4.18.0 / g++: 8.5.0 1. 概述 下文主要以异步队列为例进行讲解。 注意,为了便于理解,所以下文的代码与原 阅读全文
posted @ 2022-07-21 17:46 小夕nike 阅读(353) 评论(0) 推荐(0) 编辑