摘要: //1.创建线程 #include <thread> void func(){ std::this_thread::sleep(std::chrono::microseconds(50));//当前线程休眠 std:::this_thread::get_id();//获取当前线程id } int m 阅读全文
posted @ 2022-03-16 19:17 开锁球 阅读(54) 评论(0) 推荐(0)