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

create and initialize a write guard object More...

#include <osrwlock.h>

Public Member Functions

 WriteLock (RWLock &_rwl)
 constructor, see the constructor parameters of the class
 WriteLock (WriteLock &&_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()
 WriteLock (const WriteLock &)=delete
WriteLock & operator= (WriteLock &&)=delete
WriteLock & operator= (const WriteLock &)=delete

Detailed Description

create and initialize a write guard object

Constructor parameters

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