热门标签
更多>
搜索结果
查询Tags标签: TyThread,共有 2条记录-
c++多线程join使用
#include <iostream> #include <thread> using namespace std;class TyThread { public:TyThread(std::thread &t) :m_thread(t){}~TyThread(){if (m_thread.joinable()){m_thread.join();} }TyThread(const TyThread &o) = delete;TyThread &o…
2021/12/5 20:48:26 人评论 次浏览 -
c++多线程join使用
#include <iostream> #include <thread> using namespace std;class TyThread { public:TyThread(std::thread &t) :m_thread(t){}~TyThread(){if (m_thread.joinable()){m_thread.join();} }TyThread(const TyThread &o) = delete;TyThread &o…
2021/12/5 20:48:26 人评论 次浏览