LMMS
Loading...
Searching...
No Matches
WDL_SharedMutex Class Reference

#include <mutex.h>

Public Member Functions

 WDL_SharedMutex ()
 ~WDL_SharedMutex ()
void LockExclusive ()
void UnlockExclusive ()
void LockShared ()
void UnlockShared ()
void SharedToExclusive ()
void ExclusiveToShared ()

Private Member Functions

 WDL_SharedMutex (const WDL_SharedMutex &cp)
WDL_SharedMutexoperator= (const WDL_SharedMutex &cp)

Private Attributes

WDL_Mutex m_mutex
volatile int m_sharedcnt

Constructor & Destructor Documentation

◆ WDL_SharedMutex() [1/2]

WDL_SharedMutex::WDL_SharedMutex ( )
inline

◆ ~WDL_SharedMutex()

WDL_SharedMutex::~WDL_SharedMutex ( )
inline

◆ WDL_SharedMutex() [2/2]

WDL_SharedMutex::WDL_SharedMutex ( const WDL_SharedMutex & cp)
inlineprivate

Member Function Documentation

◆ ExclusiveToShared()

void WDL_SharedMutex::ExclusiveToShared ( )
inline

◆ LockExclusive()

void WDL_SharedMutex::LockExclusive ( )
inline

◆ LockShared()

void WDL_SharedMutex::LockShared ( )
inline

◆ operator=()

WDL_SharedMutex & WDL_SharedMutex::operator= ( const WDL_SharedMutex & cp)
inlineprivate

◆ SharedToExclusive()

void WDL_SharedMutex::SharedToExclusive ( )
inline

◆ UnlockExclusive()

void WDL_SharedMutex::UnlockExclusive ( )
inline

◆ UnlockShared()

void WDL_SharedMutex::UnlockShared ( )
inline

Member Data Documentation

◆ m_mutex

WDL_Mutex WDL_SharedMutex::m_mutex
private

◆ m_sharedcnt

volatile int WDL_SharedMutex::m_sharedcnt
private

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