摘要: 写一个死锁代码: #include <mutex> #include <thread> #include <chrono> std::mutex s_mtx_1; std::mutex s_mtx_2; int main() { std::thread thread1([&](){ s_mtx_1. 阅读全文
posted @ 2022-04-20 07:37 ho966 阅读(302) 评论(0) 推荐(0)