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