CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
NSROOT::OS::Condition< P > Class Template Reference
Inheritance diagram for NSROOT::OS::Condition< P >:

Public Member Functions

void notify_all ()
void notify_one ()
bool wait (Mutex &lock, P &predicate)
bool wait_for (Mutex &lock, unsigned millisec, P &predicate)
bool wait_for (Mutex &lock, Timeout &timeout)
 Condition (const Condition< P > &other)=delete
Condition< P > & operator= (const Condition< P > &other)=delete

Private Attributes

condition_t m_condition

Detailed Description

template<typename P>
class NSROOT::OS::Condition< P >

Definition at line 33 of file condition.h.

Constructor & Destructor Documentation

◆ Condition()

template<typename P>
NSROOT::OS::Condition< P >::Condition ( )
inline

Definition at line 36 of file condition.h.

◆ ~Condition()

template<typename P>
NSROOT::OS::Condition< P >::~Condition ( )
inline

Definition at line 41 of file condition.h.

Member Function Documentation

◆ notify_all()

template<typename P>
void NSROOT::OS::Condition< P >::notify_all ( )
inline

Definition at line 46 of file condition.h.

◆ notify_one()

template<typename P>
void NSROOT::OS::Condition< P >::notify_one ( )
inline

Definition at line 51 of file condition.h.

◆ wait()

template<typename P>
bool NSROOT::OS::Condition< P >::wait ( Mutex & lock,
P & predicate )
inline

Definition at line 56 of file condition.h.

◆ wait_for() [1/2]

template<typename P>
bool NSROOT::OS::Condition< P >::wait_for ( Mutex & lock,
Timeout & timeout )
inline

Definition at line 77 of file condition.h.

◆ wait_for() [2/2]

template<typename P>
bool NSROOT::OS::Condition< P >::wait_for ( Mutex & lock,
unsigned millisec,
P & predicate )
inline

Definition at line 63 of file condition.h.

Field Documentation

◆ m_condition

template<typename P>
condition_t NSROOT::OS::Condition< P >::m_condition
private

Definition at line 88 of file condition.h.


The documentation for this class was generated from the following file:
  • /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/os/threads/condition.h