|
IntrOS
|
create and initialize a lock guard object More...
#include <osmutex.h>
Public Member Functions | |
| LockGuard (Mutex &_mtx) | |
| constructor, see the constructor parameters of the class | |
| LockGuard (LockGuard &&_src) | |
| move constructor | |
| bool | ownsLock () const |
| true: the mutex is locked by the guard; false: the mutex was reset while waiting (or the guard was moved) | |
| operator bool () const | |
| ownsLock() | |
| LockGuard (const LockGuard &)=delete | |
| LockGuard & | operator= (LockGuard &&)=delete |
| LockGuard & | operator= (const LockGuard &)=delete |
create and initialize a lock guard object