std::thread 二:互斥量(带超时的互斥量 timed_mutex())

timed_mutex 、 try_lock_for 、 try_lock_until #include <iostream> #include <thread> #include <mutex> #include <list> using namespace std; class A { publ
posted @ 2023-06-18 23:04  十一的杂文录  阅读(56)  评论(0编辑  收藏  举报