摘要: #include <pthread> 锁 #include <mutex> #include <thread> std::mutex my_lock; void test(){ std::lock_guard<std::mutex> lock(my_lock); } list队列 #include 阅读全文
posted @ 2021-11-06 11:06 小小灰迪 阅读(54) 评论(0) 推荐(0) 编辑