API Documentation
|
Used to lock a particular variable for reading. Any number of readers can be created when no write locks are on a variable, otherwise will wait. More...
#include <RWLock.h>
Public Member Functions | |
bool | isLocked () const |
void | operator= (const RLock &)=delete |
RLock (const RLock &)=delete | |
RLock (const UUID &lock) | |
RLock (const void *lock) | |
RLock (const void *lock, bool &didAquire) | |
RLock (const void *lock, uint08 timeout) | |
RLock (RLock &&lock) noexcept | |
RLock (RWLock &lock) | |
~RLock () | |
Static Public Member Functions | |
static bool | HasLock (const RWLock &lock) |
static bool | HasLock (const void *lock) |
Used to lock a particular variable for reading. Any number of readers can be created when no write locks are on a variable, otherwise will wait.
|
explicit |
RLock | ( | const void * | lock, |
bool & | didAquire ) |
~RLock | ( | ) |
|
static |
|
static |
bool isLocked | ( | ) | const |
|
delete |