12 2022 档案

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

点击右上角即可分享
微信分享提示