摘要: std::mutex m; std::condition_variable cond; int flag = 0; constexpr int kLoopTimes = 10; void foo(int id){ for (int i = 0; i != kLoopTimes; ++i){ std: 阅读全文
posted @ 2015-11-19 19:40 wu_overflow 阅读(396) 评论(0) 推荐(0) 编辑