摘要: ### `std::mutex` ```cpp #include #include std::mutex some_mutex; std::list mylist; void func(int value) { some_mutex.lock(); // 加锁 mylist.push_back(va 阅读全文
posted @ 2023-08-31 22:13 AE酱 阅读(25) 评论(0) 推荐(0) 编辑