vdr 2.6.9
cMutexLock Class Reference

#include <thread.h>

Public Member Functions

 cMutexLock (cMutex *Mutex=NULL)
 
 ~cMutexLock ()
 
bool Lock (cMutex *Mutex)
 

Private Attributes

cMutexmutex
 
bool locked
 

Detailed Description

Definition at line 141 of file thread.h.

Constructor & Destructor Documentation

◆ cMutexLock()

cMutexLock::cMutexLock ( cMutex * Mutex = NULL)

Definition at line 387 of file thread.c.

References Lock(), locked, and mutex.

◆ ~cMutexLock()

cMutexLock::~cMutexLock ( )

Definition at line 394 of file thread.c.

References locked, mutex, and cMutex::Unlock().

Member Function Documentation

◆ Lock()

bool cMutexLock::Lock ( cMutex * Mutex)

Definition at line 400 of file thread.c.

References cMutex::Lock(), locked, and mutex.

Referenced by cMutexLock(), and cControl::Control().

Member Data Documentation

◆ locked

bool cMutexLock::locked
private

Definition at line 144 of file thread.h.

Referenced by cMutexLock(), Lock(), and ~cMutexLock().

◆ mutex

cMutex* cMutexLock::mutex
private

Definition at line 143 of file thread.h.

Referenced by cMutexLock(), Lock(), and ~cMutexLock().


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