vdr  2.2.0
Public Member Functions | Private Attributes | List of all members
cCondVar Class Reference

#include <thread.h>

Public Member Functions

 cCondVar (void)
 
 ~cCondVar ()
 
void Wait (cMutex &Mutex)
 
bool TimedWait (cMutex &Mutex, int TimeoutMs)
 
void Broadcast (void)
 

Private Attributes

pthread_cond_t cond
 

Detailed Description

Definition at line 42 of file thread.h.

Constructor & Destructor Documentation

cCondVar::cCondVar ( void  )

Definition at line 95 of file thread.c.

References cCondWait::cond.

cCondVar::~cCondVar ( )

Definition at line 100 of file thread.c.

References cCondWait::cond.

Member Function Documentation

void cCondVar::Broadcast ( void  )
bool cCondVar::TimedWait ( cMutex Mutex,
int  TimeoutMs 
)
void cCondVar::Wait ( cMutex Mutex)

Definition at line 106 of file thread.c.

References cCondWait::cond, cMutex::locked, and cMutex::mutex.

Member Data Documentation

pthread_cond_t cCondVar::cond
private

Definition at line 44 of file thread.h.


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