MADNESS 0.10.1
|
Mutex that is applied/released at start/end of a scope. More...
#include <worldmutex.h>
Public Member Functions | |
ScopedMutex (const mutexT &m) | |
ScopedMutex (const mutexT *m) | |
virtual | ~ScopedMutex () |
Private Attributes | |
const mutexT * | mutex |
Mutex that is applied/released at start/end of a scope.
The mutex must provide lock and unlock methods
|
inline |
References madness::ScopedMutex< mutexT >::mutex.
|
inline |
References madness::ScopedMutex< mutexT >::mutex.
|
inlinevirtual |
References madness::ScopedMutex< mutexT >::mutex.
|
private |