cCondVar Class Reference

#include <thread.h>

List of all members.

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 92 of file thread.c.

References cond.

cCondVar::~cCondVar (  ) 

Definition at line 97 of file thread.c.

References cond.


Member Function Documentation

void cCondVar::Wait ( cMutex Mutex  ) 

Definition at line 103 of file thread.c.

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

bool cCondVar::TimedWait ( cMutex Mutex,
int  TimeoutMs 
)

Definition at line 114 of file thread.c.

References cond, GetAbsTime(), cMutex::locked, and cMutex::mutex.

Referenced by cDvbTuner::Action(), cRemote::Get(), cDvbTuner::Locked(), cSkins::QueueMessage(), and cNonBlockingFileReader::WaitForDataMs().

Here is the call graph for this function:

void cCondVar::Broadcast ( void   ) 

Definition at line 132 of file thread.c.

References cond.

Referenced by cNonBlockingFileReader::Action(), cDvbTuner::Action(), cSkins::ProcessQueuedMessages(), cRemote::Put(), cDvbTuner::Set(), and cDvbTuner::~cDvbTuner().


Member Data Documentation

pthread_cond_t cCondVar::cond [private]

Definition at line 44 of file thread.h.

Referenced by Broadcast(), cCondVar(), TimedWait(), Wait(), and ~cCondVar().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:06:34 2007 for VDR by  doxygen 1.5.3-20071008