vdr 2.7.6
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 111 of file thread.c.

References cond.

◆ ~cCondVar()

cCondVar::~cCondVar ( )

Definition at line 116 of file thread.c.

References cond.

Member Function Documentation

◆ Broadcast()

void cCondVar::Broadcast ( void )

Definition at line 151 of file thread.c.

References cond.

Referenced by cSkins::ProcessQueuedMessages().

◆ TimedWait()

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

Definition at line 133 of file thread.c.

References cond, GetAbsTime(), and Mutex.

Referenced by cIndexFile::CatchUp(), and cSkins::QueueMessage().

◆ Wait()

void cCondVar::Wait ( cMutex & Mutex)

Definition at line 122 of file thread.c.

References cond, and 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: