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