Scroll to navigation

std::condition_variable::native_handle(3) C++ Standard Libary std::condition_variable::native_handle(3)

NAME

std::condition_variable::native_handle - std::condition_variable::native_handle

Synopsis

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

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

2026.11.10 http://cppreference.com