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

References cond.

cCondVar::~cCondVar (  ) 

Definition at line 100 of file thread.c.

References cond.


Member Function Documentation

void cCondVar::Wait ( cMutex Mutex  ) 

Definition at line 106 of file thread.c.

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

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

Definition at line 117 of file thread.c.

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

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

Here is the call graph for this function:

void cCondVar::Broadcast ( void   ) 


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 Jan 13 14:27:49 2009 for VDR by  doxygen 1.5.6