cRwLock Class Reference

#include <thread.h>

Inheritance diagram for cRwLock:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 cRwLock (bool PreferWriter=false)
 ~cRwLock ()
bool Lock (bool Write, int TimeoutMs=0)
void Unlock (void)

Private Attributes

pthread_rwlock_t rwlock


Detailed Description

Definition at line 53 of file thread.h.


Constructor & Destructor Documentation

cRwLock::cRwLock ( bool  PreferWriter = false  ) 

Definition at line 139 of file thread.c.

References rwlock.

cRwLock::~cRwLock (  ) 

Definition at line 147 of file thread.c.

References rwlock.


Member Function Documentation

bool cRwLock::Lock ( bool  Write,
int  TimeoutMs = 0 
)

Definition at line 152 of file thread.c.

References GetAbsTime(), and rwlock.

Referenced by cSchedulesLock::cSchedulesLock(), main(), cSdtFilter::Process(), cPatFilter::Process(), cNitFilter::Process(), cEITScanner::Process(), and cDevice::SetChannel().

Here is the call graph for this function:

void cRwLock::Unlock ( void   ) 

Definition at line 167 of file thread.c.

References rwlock.

Referenced by main(), cSdtFilter::Process(), cPatFilter::Process(), cNitFilter::Process(), cEITScanner::Process(), cDevice::SetChannel(), and cSchedulesLock::~cSchedulesLock().


Member Data Documentation

pthread_rwlock_t cRwLock::rwlock [private]

Definition at line 55 of file thread.h.

Referenced by cRwLock(), Lock(), Unlock(), and ~cRwLock().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:25:38 2007 for VDR by  doxygen 1.5.3-20071008