thread::get_id方法
返回关联的线程的唯一标识符。
id get_id() const _NOEXCEPT;
返回值
唯一标识关联的线程的 thread::id 对象或 thread::id(),如果线程不与对象。
要求
**标头:**线程
**命名空间:**std
返回关联的线程的唯一标识符。
id get_id() const _NOEXCEPT;
唯一标识关联的线程的 thread::id 对象或 thread::id(),如果线程不与对象。
**标头:**线程
**命名空间:**std