std::condit...tive_handle(3)
β¨ NAME β¨
okay so bestie, welcome to the <rainbow>C++ Standard Libary</rainbow> manual π this page is std::condit...tive_handle(3), and the star of the show is std::condition_variable::native_handle.
The NAME section literally gives it to you twice, no cap: std::condition_variable::native_handle β std::condition_variable::native_handle. Repetition is a vibe, periodt π
πΈ Synopsis πΈ
native_handle_type native_handle(); (since C++11)
It accesses the native handle of *this. That's the whole move π«Ά
The meaning and the type of the result of this function is implementation-defined. So the standard is like "you'll know it when your implementation tells you" π
On a POSIX system, this may be a value of type pthread_cond_t*. On a Windows system, this may be a PCONDITION_VARIABLE. Both of those are literally in the original, so don't come for me π§
π Parameters π
(none)β literally zero arguments, not a single one, the audacity is iconic π
π Return value π
The native handle of this condition variable. That's it, that's the return value β main character energy only π
π¦ See also π¦
native_handlereturns the underlying implementation-defined thread handle β public member function ofstd::threadβ¨native_handlereturns the underlying implementation-defined thread handle β public member function ofstd::jthreadπ
cute little sign-off bestie: source/version/date check is http://cppreference.com, 2024.06.10, and we're on std::condit...tive_handle(3). byeeee π
π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms