|
ACT-CV - Machine Vision for Cognitive Modeling
|
acquire a lock at the begin of a scope and automatically release it More...
#include <Mutex.h>

Public Member Functions | |
| ScopedLock (Mutex &mutex) | |
| ~ScopedLock () | |
Public Attributes | |
| Mutex & | m |
acquire a lock at the begin of a scope and automatically release it
eases exception handling and so on
| mhthreads::ScopedLock::ScopedLock | ( | Mutex & | mutex) |
Definition at line 58 of file Mutex.h.
References mhthreads::Mutex::Enter(), and m.
| mhthreads::ScopedLock::~ScopedLock | ( | ) |
Definition at line 61 of file Mutex.h.
References mhthreads::Mutex::Leave(), and m.
| Mutex& mhthreads::ScopedLock::m |
Definition at line 57 of file Mutex.h.
Referenced by ScopedLock(), and ~ScopedLock().