IntrOS
Loading...
Searching...
No Matches
intros::LockGuard Struct Reference

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

Detailed Description

create and initialize a lock guard object


The documentation for this struct was generated from the following file: