此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
备注
访问此页面需要授权。 可以尝试登录或更改目录。
访问此页面需要授权。 可以尝试更改目录。
返回关联的线程的唯一标识符。
id get_id() const _NOEXCEPT;
唯一标识关联的线程的 thread::id 对象或 thread::id(),如果线程不与对象。
**标头:**线程
**命名空间:**std
thread Class
<thread>