std::condition_variable::native_handle
来自cppreference.com
< cpp | thread | condition
variable
并发支持库
|
|
std::condition_variable
成员函数 | ||||
通知 | ||||
等待 | ||||
原生句柄 | ||||
condition_variable::native
handle
|
native_handle_type
native_handle();
|
(C++11 起) | |
访问 *this 的原生句柄。
此函数结果的含义和类型是实现定义的。 POSIX 系统上,这可以是 pthread_cond_t* 类型值。 Windows 系统上,这可以是 PCONDITION_VARIABLE 。
参数
(无)
返回值
此条件变量的原生句柄。
参阅
返回底层实现定义的线程句柄 ( std::thread
的公开成员函数) |
|
返回底层实现定义的线程句柄 ( std::jthread
的公开成员函数) |