std::thread 三:条件变量(condition_variable())

condition_variable 、 wait 、 notify_one 、 notify_all *:notify_one:通知(唤醒)一个线程 *:notify_all:通知(唤醒)多个线程 #include <iostream> #include <thread> #include <mu
posted @ 2023-06-18 23:09  十一的杂文录  阅读(59)  评论(0编辑  收藏  举报