摘要: 获取当前线程的id 方法一: #include <thread> thread::id currentID = this_thread::get_id(); cout<<"当前线程的ID是:"<<thread::id<<endl; 方法二: int threadID = GetCurrentThre 阅读全文
posted @ 2022-12-05 14:41 手写不期而遇 阅读(1205) 评论(0) 推荐(0) 编辑