thread::native_handle Method

返回表示线程处理的特定于实现的类型。 线程句柄可用于特定于实现的方式。

native_handle_type native_handle();

返回值

native_handle_type 定义为 Win32 被强制转换为 void *的 HANDLE。

要求

**标头:**线程

**命名空间:**std

请参见

参考

thread Class

<thread>