![]() |
CPPMyth
Library to interoperate with MythTV server
|
Data Structures | |
| class | ExclusiveGuard |
| class | SharedGuard |
Public Member Functions | |
| void | Lock () |
| void | Unlock () |
| void | LockShared () |
| void | UnlockShared () |
Private Member Functions | |
| Lockable (const Lockable &) | |
| Lockable & | operator= (const Lockable &) |
Private Attributes | |
| OS::Latch * | m_lock |
Definition at line 35 of file mythlocked.h.
| Lockable::Lockable | ( | ) |
Definition at line 29 of file mythlocked.cpp.
| Lockable::~Lockable | ( | ) |
Definition at line 32 of file mythlocked.cpp.
| void Lockable::Lock | ( | ) |
Blocks until exclusive lock is held.
Definition at line 37 of file mythlocked.cpp.
| void Lockable::LockShared | ( | ) |
Blocks until shared lock is held.
Definition at line 47 of file mythlocked.cpp.
| void Lockable::Unlock | ( | ) |
Release exclusive lock.
Definition at line 42 of file mythlocked.cpp.
| void Lockable::UnlockShared | ( | ) |
Release shared lock.
Definition at line 52 of file mythlocked.cpp.
|
private |
Definition at line 97 of file mythlocked.h.