thread::id选件类
为实现每个线程在进程中提供唯一标识符。
class thread::id {
id() _NOEXCEPT;
};
备注
默认值构造函数创建与任何现有线程的 thread::id 对象不相等的对象。
所有默认值构造的 thread::id 对象相等。
要求
**标头:**线程
**命名空间:**std
为实现每个线程在进程中提供唯一标识符。
class thread::id {
id() _NOEXCEPT;
};
默认值构造函数创建与任何现有线程的 thread::id 对象不相等的对象。
所有默认值构造的 thread::id 对象相等。
**标头:**线程
**命名空间:**std