摘要: // 多生产者多消费者模型 // 需要了解以下概念 // thread 线程 // mutex 互斥锁 // atomic 原子操作 // condition_variable 条件变量 #include <iostream> #include <thread> #include <mutex> # 阅读全文
posted @ 2022-06-12 23:11 Xun_BKY 阅读(118) 评论(0) 推荐(0) 编辑