library of assembled shared sources |
http://lass.cocamware.com |
Public Member Functions | |
MutexInternal () | |
~MutexInternal () | |
void | lock () |
const LockResult | tryLock () |
void | unlock () |
const unsigned | lockCount () const |
MutexInternal () | |
~MutexInternal () | |
void | lock () |
const LockResult | tryLock () |
void | unlock () |
const unsigned | lockCount () const |
Data Fields | |
pthread_mutex_t | mutex_ |
unsigned | lockCount_ |
Private Member Functions | |
void | swap (NonCopyable &) |
Private Attributes | |
HANDLE | mutex_ |
Definition at line 97 of file thread_posix.inl.
lass::util::impl::MutexInternal::MutexInternal | ( | ) | [inline] |
lass::util::impl::MutexInternal::~MutexInternal | ( | ) | [inline] |
Definition at line 109 of file thread_posix.inl.
References LASS_ASSERT, LASS_WARN_CLIB_RC, lockCount_, and mutex_.
lass::util::impl::MutexInternal::MutexInternal | ( | ) | [inline] |
lass::util::impl::MutexInternal::~MutexInternal | ( | ) | [inline] |
Definition at line 108 of file thread_win32.inl.
References lass::io::cerr(), LASS_ASSERT, lockCount_, and mutex_.
void lass::util::impl::MutexInternal::lock | ( | ) | [inline] |
Definition at line 114 of file thread_posix.inl.
References LASS_ENFORCE_CLIB_RC, lockCount_, and mutex_.
Referenced by lass::util::Mutex::lock().
const LockResult lass::util::impl::MutexInternal::tryLock | ( | ) | [inline] |
Definition at line 119 of file thread_posix.inl.
References lass::util::impl::lass_strerror(), LASS_THROW, lass::util::lockBusy, lockCount_, lass::util::lockSuccess, and mutex_.
Referenced by lass::util::Mutex::tryLock().
void lass::util::impl::MutexInternal::unlock | ( | ) | [inline] |
Definition at line 134 of file thread_posix.inl.
References LASS_ASSERT, LASS_ENFORCE_CLIB_RC, LASS_THROW, lockCount_, and mutex_.
Referenced by lass::util::Mutex::unlock().
const unsigned lass::util::impl::MutexInternal::lockCount | ( | ) | const [inline] |
Definition at line 144 of file thread_posix.inl.
References lockCount_.
Referenced by lass::util::Mutex::isLocked(), and lass::util::Mutex::~Mutex().
void lass::util::impl::MutexInternal::lock | ( | ) | [inline] |
Definition at line 120 of file thread_win32.inl.
References lass::io::cerr(), LASS_ASSERT, LASS_THROW, lockCount_, and mutex_.
const LockResult lass::util::impl::MutexInternal::tryLock | ( | ) | [inline] |
Definition at line 147 of file thread_win32.inl.
References lass::io::cerr(), LASS_ASSERT, LASS_THROW, lass::util::lockBusy, lockCount_, lass::util::lockSuccess, and mutex_.
void lass::util::impl::MutexInternal::unlock | ( | ) | [inline] |
Definition at line 176 of file thread_win32.inl.
References LASS_ASSERT, LASS_THROW, lockCount_, and mutex_.
const unsigned lass::util::impl::MutexInternal::lockCount | ( | ) | const [inline] |
void lass::util::NonCopyable::swap | ( | NonCopyable & | ) | [inline, protected, inherited] |
pthread_mutex_t lass::util::impl::MutexInternal::mutex_ |
Definition at line 149 of file thread_posix.inl.
Referenced by lock(), MutexInternal(), tryLock(), unlock(), and ~MutexInternal().
Definition at line 150 of file thread_posix.inl.
Referenced by lock(), lockCount(), tryLock(), unlock(), and ~MutexInternal().
HANDLE lass::util::impl::MutexInternal::mutex_ [private] |
Definition at line 191 of file thread_win32.inl.
Generated on Mon Nov 10 14:22:20 2008 for Library of Assembled Shared Sources by 1.5.7.1 |