vdr 2.6.1
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)
 
 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 44 of file include/vdr/thread.h.

Constructor & Destructor Documentation

◆ cCondVar() [1/2]

cCondVar::cCondVar ( void  )

Definition at line 110 of file thread.c.

References cond.

◆ ~cCondVar() [1/2]

cCondVar::~cCondVar ( )

Definition at line 115 of file thread.c.

References cond.

◆ cCondVar() [2/2]

cCondVar::cCondVar ( void  )

◆ ~cCondVar() [2/2]

cCondVar::~cCondVar ( )

Member Function Documentation

◆ Broadcast() [1/2]

void cCondVar::Broadcast ( void  )

◆ Broadcast() [2/2]

void cCondVar::Broadcast ( void  )

◆ TimedWait() [1/2]

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

◆ TimedWait() [2/2]

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

◆ Wait() [1/2]

void cCondVar::Wait ( cMutex Mutex)

Definition at line 121 of file thread.c.

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

◆ Wait() [2/2]

void cCondVar::Wait ( cMutex Mutex)

Member Data Documentation

◆ cond

pthread_cond_t cCondVar::cond
private

Definition at line 46 of file include/vdr/thread.h.

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


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