摘要: 【主要注意点】 1)pthread_cond_signal在多处理器上可能同时唤醒多个线程 2)notify丢失问题,处理完任务后要检查队列 https://blog.51cto.com/u_15310381/3228038 【笔记】 1)std::condition_variable是使用的pth 阅读全文
posted @ 2022-05-25 00:05 stupidstan2019 阅读(113) 评论(2) 推荐(0)