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

#include <thread.h>

Public Member Functions

 cThreadLock (cThread *Thread=NULL)
 ~cThreadLock ()
bool Lock (cThread *Thread)
 cThreadLock (cThread *Thread=NULL)
 ~cThreadLock ()
bool Lock (cThread *Thread)

Private Attributes

cThreadthread
bool locked

Detailed Description

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

Constructor & Destructor Documentation

cThreadLock::cThreadLock ( cThread Thread = NULL)

Definition at line 377 of file thread.c.

References Lock(), locked, and thread.

cThreadLock::~cThreadLock ( )

Definition at line 384 of file thread.c.

References locked, thread, and cThread::Unlock().

cThreadLock::cThreadLock ( cThread Thread = NULL)
cThreadLock::~cThreadLock ( )

Member Function Documentation

bool cThreadLock::Lock ( cThread Thread)

Definition at line 390 of file thread.c.

References cThread::Lock(), locked, and thread.

Referenced by cThreadLock().

bool cThreadLock::Lock ( cThread Thread)

Member Data Documentation

bool cThreadLock::locked
private

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

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

cThread * cThreadLock::thread
private

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

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


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