YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
condition_variable< T > Class Template Reference

Public Member Functions

void wait (mutex_interface &m)
 
template<typename Predicate >
void wait (mutex_interface &m, Predicate p)
 
void notify_one ()
 
void notify_all ()
 
 condition_variable (const condition_variable &)=delete
 
condition_variableoperator= (const condition_variable &)=delete
 

Detailed Description

template<typename T>
class condition_variable< T >

Definition at line 28 of file condition_variable.h.

Member Function Documentation

◆ notify_all()

template<typename T >
void condition_variable< T >::notify_all ( )
inline

Definition at line 70 of file condition_variable.h.

◆ notify_one()

template<typename T >
void condition_variable< T >::notify_one ( )
inline

Definition at line 58 of file condition_variable.h.

◆ wait() [1/2]

template<typename T >
void condition_variable< T >::wait ( mutex_interface & m)
inline

Definition at line 33 of file condition_variable.h.

◆ wait() [2/2]

template<typename T >
template<typename Predicate >
void condition_variable< T >::wait ( mutex_interface & m,
Predicate p )
inline

Definition at line 54 of file condition_variable.h.


The documentation for this class was generated from the following file: