std::condition_variable(3cxx)
πΈ NAME πΈ
okay so welcome to std::condition_variable from the 3cxx manual, bestie π
std::condition_variable β condition_variable
β¨ SYNOPSIS β¨
#include <condition_variable>
π Public Types π
native_handle_typeβ the public typedef is exactlytypedef __gthread_cond_t * native_handle_type. Thatβs the whole type moment, no cap.
π Public Member Functions π
condition_variable (const condition_variable &)=deleteβ copy constructor, deleted. Itβs giving βno copies allowed,β periodt.native_handle_type native_handle ()β the signature hands back anative_handle_type; thatβs the entire documented lore here.void notify_all () noexceptβ the all-notify one, and itβs markednoexcept.void notify_one () noexceptβ the one-notify one, also markednoexcept.condition_variable & operator= (const condition_variable &)=deleteβ copy assignment, deleted. Same no-copy energy, iconic.void wait (unique_lock< mutex > &__lock)β takesunique_lock< mutex > &__lock, no predicate in this one.template<typename _Predicate > void wait (unique_lock< mutex > &__lock, _Predicate __p)β templated on_Predicate, takes the lock plus__p.template<typename _Rep , typename _Period > cv_status wait_for (unique_lock< mutex > &__lock, const chrono::duration< _Rep, _Period > &__rtime)β templated on_Repand_Period, takes the lock plus achrono::duration, returnscv_status.template<typename _Rep , typename _Period , typename _Predicate > bool wait_for (unique_lock< mutex > &__lock, const chrono::duration< _Rep, _Period > &__rtime, _Predicate __p)β templated on_Rep,_Period, and_Predicate, takes the lock, duration, and__p, returnsbool.template<typename _Clock , typename _Duration > cv_status wait_until (unique_lock< mutex > &__lock, const chrono::time_point< _Clock, _Duration > &__atime)β templated on_Clockand_Duration, takes the lock plus achrono::time_point, returnscv_status.template<typename _Clock , typename _Duration , typename _Predicate > bool wait_until (unique_lock< mutex > &__lock, const chrono::time_point< _Clock, _Duration > &__atime, _Predicate __p)β templated on_Clock,_Duration, and_Predicate, takes the lock, time point, and__p, returnsbool.template<typename _Duration > cv_status wait_until (unique_lock< mutex > &__lock, const chrono::time_point< system_clock, _Duration > &__atime)β templated on_Duration, takes the lock pluschrono::time_point< system_clock, _Duration >, returnscv_status.
π«Ά Detailed Description π«Ά
The detailed description on this page is literally just:
condition_variable
Minimalist. Mysterious. Main character energy. π
π¦ Author π¦
Author: Generated automatically by Doxygen for libstdc++ from the source code. So yes, the author is the machine β slay, I guess. π
π Cute sign-off: source/version is libstdc++, and the footer tag is std::condition_variable(3cxx). Thereβs no date in the footer, so Iβm not inventing one, bestie β mwah πβ¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms