摘要: std::latch latch(10); std::vector<std::thread> pool; for (auto i = 0; i < 10; ++i) { pool.push_back(std::thread([&,i]() { // calc auto index = "calc " 阅读全文
posted @ 2021-06-02 11:02 學海無涯 阅读(136) 评论(0) 推荐(0) 编辑