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)
 

Private Attributes

pthread_cond_t cond
 

Detailed Description

Definition at line 44 of file thread.h.

Constructor & Destructor Documentation

◆ cCondVar()

cCondVar::cCondVar ( void  )

Definition at line 110 of file thread.c.

References cond.

◆ ~cCondVar()

cCondVar::~cCondVar ( )

Definition at line 115 of file thread.c.

References cond.

Member Function Documentation

◆ Broadcast()

void cCondVar::Broadcast ( void  )

◆ TimedWait()

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

◆ Wait()

void cCondVar::Wait ( cMutex Mutex)

Definition at line 121 of file thread.c.

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

Member Data Documentation

◆ cond

pthread_cond_t cCondVar::cond
private

Definition at line 46 of file thread.h.

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


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