vdr  1.7.31
Public Member Functions | Private Attributes | List of all members
cMutexLock Class Reference

#include <thread.h>

Public Member Functions

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

Private Attributes

cMutexmutex
bool locked

Detailed Description

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

Constructor & Destructor Documentation

cMutexLock::cMutexLock ( cMutex Mutex = NULL)

Definition at line 351 of file thread.c.

References Lock(), locked, and mutex.

cMutexLock::~cMutexLock ( )

Definition at line 358 of file thread.c.

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

cMutexLock::cMutexLock ( cMutex Mutex = NULL)
cMutexLock::~cMutexLock ( )

Member Function Documentation

bool cMutexLock::Lock ( cMutex Mutex)

Definition at line 364 of file thread.c.

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

Referenced by cMutexLock().

bool cMutexLock::Lock ( cMutex Mutex)

Member Data Documentation

bool cMutexLock::locked
private

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

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

cMutex * cMutexLock::mutex
private

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

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


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