LMMS
Loading...
Searching...
No Matches
calf_utils::ptlock_base Class Reference

#include <utils.h>

Inheritance diagram for calf_utils::ptlock_base:
calf_utils::ptlock calf_utils::pttrylock

Public Member Functions

bool is_locked ()
void unlock ()
void unlocked ()
 ~ptlock_base ()

Protected Member Functions

 ptlock_base (ptmutex &_m)

Protected Attributes

ptmutexmutex
bool locked

Constructor & Destructor Documentation

◆ ptlock_base()

calf_utils::ptlock_base::ptlock_base ( ptmutex & _m)
inlineprotected

◆ ~ptlock_base()

calf_utils::ptlock_base::~ptlock_base ( )
inline

Member Function Documentation

◆ is_locked()

bool calf_utils::ptlock_base::is_locked ( )
inline

◆ unlock()

void calf_utils::ptlock_base::unlock ( )
inline

◆ unlocked()

void calf_utils::ptlock_base::unlocked ( )
inline

Member Data Documentation

◆ locked

bool calf_utils::ptlock_base::locked
protected

◆ mutex

ptmutex& calf_utils::ptlock_base::mutex
protected

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