vdr
1.7.27
|
#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 |
Definition at line 53 of file include/vdr/thread.h.
cRwLock::cRwLock | ( | bool | PreferWriter = false | ) |
cRwLock::cRwLock | ( | bool | PreferWriter = false | ) |
bool cRwLock::Lock | ( | bool | Write, |
int | TimeoutMs = 0 |
||
) |
Definition at line 155 of file thread.c.
References GetAbsTime(), and rwlock.
Referenced by cEIT::cEIT(), cSchedulesLock::cSchedulesLock(), main(), cSdtFilter::Process(), cPatFilter::Process(), cNitFilter::Process(), cEITScanner::Process(), and cDevice::SetChannel().
bool cRwLock::Lock | ( | bool | Write, |
int | TimeoutMs = 0 |
||
) |
void cRwLock::Unlock | ( | void | ) |
void cRwLock::Unlock | ( | void | ) |
Definition at line 170 of file thread.c.
References rwlock.
Referenced by cEIT::cEIT(), main(), cSdtFilter::Process(), cPatFilter::Process(), cNitFilter::Process(), cEITScanner::Process(), cDevice::SetChannel(), and cSchedulesLock::~cSchedulesLock().
pthread_rwlock_t cRwLock::rwlock [private] |
Definition at line 55 of file include/vdr/thread.h.
Referenced by cRwLock(), Lock(), Unlock(), and ~cRwLock().