Namespaces
Variants
Actions

std::condition_variable::native_handle

From cppreference.com
 
 
Concurrency support library
(C++11)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++17)
(C++11)
(C++11)
(C++17)
(C++11)
(C++14)
(C++11)
(C++11)
(C++11)
(C++11)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++26)
(C++26)
(C++26)
(C++26)
(C++11)
(C++20)
(C++11)
(C++11)(deprecated in C++20)
(C++11)(deprecated in C++20)
(C++11)
(C++11)(deprecated in C++26)
 
 
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]
returns the underlying implementation-defined thread handle
(public member function of std::jthread) [edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/thread/condition_variable/native_handle&oldid=133368"

AltStyle によって変換されたページ (->オリジナル) /