libzypp
10.5.0
|
#include <MutexLock.h>
Public Member Functions | |
MutexLock (Mutex &mutex, bool init_locked=true) | |
MutexLock (const MutexLock &ref) | |
~MutexLock () | |
void | lock () |
void | unlock () |
bool | trylock () |
bool | locked () |
Private Attributes | |
Mutex * | m_mutex |
bool | m_locked |
Definition at line 28 of file MutexLock.h.
zypp::thread::MutexLock::MutexLock | ( | Mutex & | mutex, |
bool | init_locked = true |
||
) | [inline, explicit] |
Definition at line 31 of file MutexLock.h.
zypp::thread::MutexLock::MutexLock | ( | const MutexLock & | ref | ) | [inline] |
Definition at line 39 of file MutexLock.h.
zypp::thread::MutexLock::~MutexLock | ( | ) | [inline] |
Definition at line 46 of file MutexLock.h.
void zypp::thread::MutexLock::lock | ( | ) | [inline] |
Definition at line 59 of file MutexLock.h.
void zypp::thread::MutexLock::unlock | ( | ) | [inline] |
Definition at line 66 of file MutexLock.h.
bool zypp::thread::MutexLock::trylock | ( | ) | [inline] |
Definition at line 73 of file MutexLock.h.
bool zypp::thread::MutexLock::locked | ( | ) | [inline] |
Definition at line 80 of file MutexLock.h.
Mutex* zypp::thread::MutexLock::m_mutex [private] |
Definition at line 86 of file MutexLock.h.
bool zypp::thread::MutexLock::m_locked [mutable, private] |
Definition at line 87 of file MutexLock.h.