vdr 2.6.1
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 157 of file include/vdr/thread.h.

Constructor & Destructor Documentation

◆ cThreadLock() [1/2]

cThreadLock::cThreadLock ( cThread Thread = NULL)

Definition at line 413 of file thread.c.

References Lock(), locked, and thread.

◆ ~cThreadLock() [1/2]

cThreadLock::~cThreadLock ( )

Definition at line 420 of file thread.c.

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

◆ cThreadLock() [2/2]

cThreadLock::cThreadLock ( cThread Thread = NULL)

◆ ~cThreadLock() [2/2]

cThreadLock::~cThreadLock ( )

Member Function Documentation

◆ Lock() [1/2]

bool cThreadLock::Lock ( cThread Thread)

Definition at line 426 of file thread.c.

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

Referenced by cThreadLock().

◆ Lock() [2/2]

bool cThreadLock::Lock ( cThread Thread)

Member Data Documentation

◆ locked

bool cThreadLock::locked
private

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

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

◆ thread

cThread * cThreadLock::thread
private

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

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


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