#include <MutexUtils.h>
Public Types | |
typedef M | Mutex |
typedef MutexI::scoped_lock | scoped_lock |
Public Member Functions | |
AnyMutex (M &im) | |
void | lock () |
void | unlock () |
Private Attributes | |
M & | m |
Definition at line 35 of file MutexUtils.h.
Definition at line 38 of file MutexUtils.h.
typedef MutexI::scoped_lock AnyMutex< M >::scoped_lock |
Definition at line 39 of file MutexUtils.h.
Definition at line 40 of file MutexUtils.h.
: m(im){}
void AnyMutex< M >::lock | ( | void | ) | [inline, virtual] |
Implements MutexI.
Definition at line 41 of file MutexUtils.h.
References AnyMutex< M >::m.
{ m.lock();}
void AnyMutex< M >::unlock | ( | void | ) | [inline, virtual] |
Implements MutexI.
Definition at line 42 of file MutexUtils.h.
References AnyMutex< M >::m.
{ m.unlock();}
Definition at line 36 of file MutexUtils.h.
Referenced by AnyMutex< M >::lock(), and AnyMutex< M >::unlock().