API Documentation
Loading...
Searching...
No Matches
RWLock Class Reference

#include <RWLock.h>

Public Member Functions

 RWLock ()
 
 RWLock (const RWLock &lock)=delete
 
 ~RWLock ()
 
bool ReadLock ()
 
bool WriteLock ()
 
bool TryReadLock ()
 
bool TryWriteLock ()
 
bool TryReadLock (uint08 time)
 
bool TryWriteLock (uint08 time)
 
void ReadUnlock ()
 
void WriteUnlock ()
 
uint04 numOfWriteLocksHeld () const
 
uint04 numOfWriteLocks () const
 
uint04 numOfReadLocksHeld () const
 
uint04 numOfReadLocks () const
 

Static Public Member Functions

static RWLockgetEntry (const void *entry)
 

Protected Member Functions

bool _TryReadLock ()
 
bool _TryWriteLock ()
 

Constructor & Destructor Documentation

◆ RWLock() [1/2]

RWLock ( )

◆ RWLock() [2/2]

RWLock ( const RWLock & lock)
delete

◆ ~RWLock()

~RWLock ( )

Member Function Documentation

◆ _TryReadLock()

bool _TryReadLock ( )
protected

◆ _TryWriteLock()

bool _TryWriteLock ( )
protected

◆ getEntry()

RWLock * getEntry ( const void * entry)
static

◆ numOfReadLocks()

uint04 numOfReadLocks ( ) const
nodiscard

◆ numOfReadLocksHeld()

uint04 numOfReadLocksHeld ( ) const
nodiscard

◆ numOfWriteLocks()

uint04 numOfWriteLocks ( ) const
nodiscard

◆ numOfWriteLocksHeld()

uint04 numOfWriteLocksHeld ( ) const
nodiscard

◆ ReadLock()

bool ReadLock ( )

◆ ReadUnlock()

void ReadUnlock ( )

◆ TryReadLock() [1/2]

bool TryReadLock ( )

◆ TryReadLock() [2/2]

bool TryReadLock ( uint08 time)

◆ TryWriteLock() [1/2]

bool TryWriteLock ( )

◆ TryWriteLock() [2/2]

bool TryWriteLock ( uint08 time)

◆ WriteLock()

bool WriteLock ( )

◆ WriteUnlock()

void WriteUnlock ( )

The documentation for this class was generated from the following files: