Namespaces
Variants

std::condition_variable:: native_handle

From cppreference.net

Concurrency support library
Threads
(C++11)
(C++20)
this_thread namespace
(C++11)
(C++11)
Cooperative cancellation
Mutual exclusion
Generic lock management
Condition variables
(C++11)
Semaphores
Latches and Barriers
(C++20)
(C++20)
Futures
(C++11)
(C++11)
(C++11)
Safe reclamation
Hazard pointers
Atomic types
(C++11)
(C++20)
Initialization of atomic types
(C++11) (deprecated in C++20)
(C++11) (deprecated in C++20)
Memory ordering
(C++11) (deprecated in C++26)
Free functions for atomic operations
Free functions for atomic flags
native_handle_type native_handle ( ) ;
(C++11以降)

* this のネイティブハンドルにアクセスします。

この関数の結果の意味と型は実装定義です。POSIXシステムでは、これは pthread_cond_t * 型の値である可能性があります。Windowsシステムでは、これは PCONDITION_VARIABLE である可能性があります。

パラメータ

(なし)

戻り値

この条件変数のネイティブハンドル。

関連項目

基盤となる実装定義のスレッドハンドルを返す
( std::thread の公開メンバ関数)
基盤となる実装定義のスレッドハンドルを返す
( std::jthread の公開メンバ関数)