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

#include <thread.h>

Collaboration diagram for cThreadLock:
[legend]

Public Member Functions

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

Private Attributes

cThreadthread
 
bool locked
 

Detailed Description

Definition at line 151 of file thread.h.

Constructor & Destructor Documentation

cThreadLock::cThreadLock ( cThread Thread = NULL)

Definition at line 382 of file thread.c.

References Lock(), locked, and thread.

cThreadLock::~cThreadLock ( )

Definition at line 389 of file thread.c.

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

Member Function Documentation

bool cThreadLock::Lock ( cThread Thread)

Definition at line 395 of file thread.c.

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

Referenced by cThreadLock().

Member Data Documentation

bool cThreadLock::locked
private

Definition at line 154 of file thread.h.

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

cThread* cThreadLock::thread
private

Definition at line 153 of file thread.h.

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


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