[原]C++实现生产者和消费者模型

畅柯 19/01/30 20:46:27
#include <iostream> #include<thread> #include<mutex> #include<condition_variable> #include<queue> using namespace std; //任务队列 queue<int>products ; mutex m ; condi...
作者:qq_41681241 发表于 2019/01/30 20:46:27 原文链接 https://blog.csdn.net/qq_41681241/article/details/86708303
阅读:15