An exeption safe way for locking and unlocking an mutex.
More...
#include </home/werner/origo/vish/memcore/synchronized.hpp>
List of all members.
Public Member Functions
-
bool isDone () const throw ()
-
lock (mutex &M) throw ()
- Constructor. Locks the mutex.
-
void setIsDoneFlag () throw ()
-
~lock () throw ()
- Destructor. unlocks the mutex.
Detailed Description
An exeption safe way for locking and unlocking an mutex.
The constructor locks, the destructor unlocks the given mutex.
- See also:
- mutex
The documentation for this class was generated from the following files:
- memcore/synchronized.hpp
- memcore/synchronized.cpp