vdr 2.7.2
cMutex Class Reference

#include <thread.h>

Public Member Functions

 cMutex (void)
 
 ~cMutex ()
 
void Lock (void)
 
void Unlock (void)
 

Private Attributes

pthread_mutex_t mutex
 
int locked
 

Friends

class cCondVar
 

Detailed Description

Definition at line 67 of file thread.h.

Constructor & Destructor Documentation

◆ cMutex()

cMutex::cMutex ( void )

Definition at line 208 of file thread.c.

References locked, and mutex.

◆ ~cMutex()

cMutex::~cMutex ( )

Definition at line 217 of file thread.c.

References mutex.

Member Function Documentation

◆ Lock()

◆ Unlock()

Friends And Related Symbol Documentation

◆ cCondVar

friend class cCondVar
friend

Definition at line 68 of file thread.h.

Member Data Documentation

◆ locked

int cMutex::locked
private

Definition at line 71 of file thread.h.

Referenced by cMutex(), Lock(), cCondVar::TimedWait(), Unlock(), and cCondVar::Wait().

◆ mutex

pthread_mutex_t cMutex::mutex
private

Definition at line 70 of file thread.h.

Referenced by cMutex(), Lock(), cCondVar::TimedWait(), Unlock(), cCondVar::Wait(), and ~cMutex().


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