casa
$Rev:20696$
|
#include <AsynchronousTools.h>
Public Member Functions | |
Mutex () | |
virtual | ~Mutex () |
void | lock () |
Bool isLockedByThisThread () const; // for debug purposes only !!! | |
void | unlock () |
Bool lock (Int milliseconds);. | |
Bool | trylock () |
void | acquirelock () |
jagonzal: Useful when mandatory is locking | |
Protected Member Functions | |
boost::mutex & | getMutex () |
Private Member Functions | |
Mutex (const Mutex &other) | |
Mutex | operator= (const Mutex &other) |
Private Attributes | |
Bool | isLocked_p |
MutexImpl * | impl_p |
Friends | |
class | Condition |
class | UniqueLock |
Definition at line 33 of file AsynchronousTools.h.
virtual casa::async::Mutex::~Mutex | ( | ) | [virtual] |
casa::async::Mutex::Mutex | ( | const Mutex & | other | ) | [private] |
void casa::async::Mutex::acquirelock | ( | ) |
jagonzal: Useful when mandatory is locking
boost::mutex& casa::async::Mutex::getMutex | ( | ) | [protected] |
void casa::async::Mutex::lock | ( | ) |
Bool isLockedByThisThread () const; // for debug purposes only !!!
void casa::async::Mutex::unlock | ( | ) |
Bool lock (Int milliseconds);.
friend class Condition [friend] |
Definition at line 35 of file AsynchronousTools.h.
friend class UniqueLock [friend] |
Definition at line 36 of file AsynchronousTools.h.
MutexImpl* casa::async::Mutex::impl_p [private] |
Definition at line 60 of file AsynchronousTools.h.
Bool casa::async::Mutex::isLocked_p [private] |
Definition at line 59 of file AsynchronousTools.h.