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

#include <thread.h>

Public Member Functions

 cRwLock (bool PreferWriter=false)
 ~cRwLock ()
bool Lock (bool Write, int TimeoutMs=0)
void Unlock (void)
 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 include/vdr/thread.h.

Constructor & Destructor Documentation

cRwLock::cRwLock ( bool  PreferWriter = false)

Definition at line 142 of file thread.c.

References rwlock.

cRwLock::~cRwLock ( )

Definition at line 150 of file thread.c.

References rwlock.

cRwLock::cRwLock ( bool  PreferWriter = false)
cRwLock::~cRwLock ( )

Member Function Documentation

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

Member Data Documentation

pthread_rwlock_t cRwLock::rwlock
private

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

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


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