std::condition_variable(3cxx)

std::condition_variable3cxx

Condition_variable

Usage

#include <condition_variable>

Public Types

typedef __gthread_cond_t * native_handle_type

Public Member Functions

condition_variable (const condition_variable &)=delete
native_handle_type native_handle ()
void notify_all () noexcept
void notify_one () noexcept
condition_variable & operator= (const condition_variable &)=delete
void wait (unique_lock< mutex > &__lock)
template<typename _Predicate > void wait (unique_lock< mutex > &__lock, _Predicate __p)
template<typename _Rep , typename _Period > cv_status wait_for (unique_lock< mutex > &__lock, const chrono::duration< _Rep, _Period > &__rtime)
template<typename _Rep , typename _Period , typename _Predicate > bool wait_for (unique_lock< mutex > &__lock, const chrono::duration< _Rep, _Period > &__rtime, _Predicate __p)
template<typename _Clock , typename _Duration > cv_status wait_until (unique_lock< mutex > &__lock, const chrono::time_point< _Clock, _Duration > &__atime)
template<typename _Clock , typename _Duration , typename _Predicate > bool wait_until (unique_lock< mutex > &__lock, const chrono::time_point< _Clock, _Duration > &__atime, _Predicate __p)
template<typename _Duration > cv_status wait_until (unique_lock< mutex > &__lock, const chrono::time_point< system_clock, _Duration > &__atime)

Detailed Description

condition_variable

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.