#include <Mutex.h>
Inheritance diagram for ZThread::Mutex::

Public Methods | |
| Mutex () throw (Synchronization_Exception) | |
| virtual | ~Mutex () throw () |
| virtual void | acquire () throw (Synchronization_Exception) |
| virtual bool | tryAcquire (unsigned long) throw (Synchronization_Exception) |
| virtual void | release () throw (Synchronization_Exception) |
This classes behavoir is very similar to the CheckedMutex except that it will not check for deadlock.
|
|
Allocate a new mutex
|
|
|
Destroy this Mutex object |
|
|
Acquire a lock on this mutex. Acquiring this mutex twice will result in deadlock.
Reimplemented from ZThread::Lockable. |
|
|
Release a lock held on this mutex. Once released, another thread may acquire the mutex.
Reimplemented from ZThread::Lockable. |
|
|
Acquire a lock on this mutex. Acquiring this mutex twice will result in deadlock.
Reimplemented from ZThread::Lockable. |
1.2.8 written by Dimitri van Heesch,
© 1997-2001