std::condition_variable::native_handle

std::condition_variable::native_handle

native_handle_type native_handle();
(since C++11)

Accesses the native handle of *this.

The meaning and the type of the result of this function is implementation-defined. On a POSIX system, this may be a value of type pthread_cond_t*. On a Windows system, this may be a PCONDITION_VARIABLE.

Parameters

(none).

Return value

The native handle of this condition variable.

See also

returns the underlying implementation-defined thread handle
(public member function of std::thread)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/thread/condition_variable/native_handle

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部