library of assembled shared sources |
http://lass.cocamware.com |
#include <thread.h>
Public Member Functions | |
Mutex () | |
~Mutex () | |
void | lock () |
const LockResult | tryLock () |
void | unlock () |
const bool | isLocked () const |
Private Member Functions | |
void | swap (NonCopyable &) |
Private Attributes | |
impl::MutexInternal * | pimpl_ |
Definition at line 124 of file thread.h.
lass::util::Mutex::Mutex | ( | void | ) |
lass::util::Mutex::~Mutex | ( | void | ) |
Definition at line 69 of file thread.cpp.
References lass::io::cerr(), LASS_ASSERT, lass::util::impl::MutexInternal::lockCount(), and pimpl_.
void lass::util::Mutex::lock | ( | ) |
Definition at line 83 of file thread.cpp.
References LASS_ASSERT, lass::util::impl::MutexInternal::lock(), and pimpl_.
const LockResult lass::util::Mutex::tryLock | ( | ) |
Definition at line 89 of file thread.cpp.
References LASS_ASSERT, pimpl_, and lass::util::impl::MutexInternal::tryLock().
void lass::util::Mutex::unlock | ( | ) |
Definition at line 95 of file thread.cpp.
References LASS_ASSERT, pimpl_, and lass::util::impl::MutexInternal::unlock().
const bool lass::util::Mutex::isLocked | ( | ) | const |
Definition at line 101 of file thread.cpp.
References LASS_ASSERT, lass::util::impl::MutexInternal::lockCount(), and pimpl_.
void lass::util::NonCopyable::swap | ( | NonCopyable & | ) | [inline, protected, inherited] |
impl::MutexInternal* lass::util::Mutex::pimpl_ [private] |
Generated on Mon Nov 10 14:22:17 2008 for Library of Assembled Shared Sources by 1.5.7.1 |