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