Namespaces
Variants
Views
Actions

std::condition_variable::native_handle

From cppreference.com
 
 
Thread support library
Threads
(C++11)
this_thread namespace
(C++11)
(C++11)
(C++11)
Mutual exclusion
(C++11)
Generic lock management
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
Condition variables
(C++11)
Futures
(C++11)
(C++11)
(C++11)
(C++11)
 
 
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.

[edit] Parameters

(none)

[edit] Return value

The native handle of this condition variable.

[edit] See also

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