c++ 11 std::thread 線程 獲取線程ID的整數值

std::ostringstream oss; oss << std::this_thread::get_id(); std::string stid = oss.str(); unsigned long long tid = std::stoull(stid);
相關文章
相關標籤/搜索