CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
NSROOT::OS::Mutex Class Reference

Public Member Functions

mutex_t * native_handle ()
bool try_lock ()
void lock ()
void unlock ()
void clear ()
 Mutex (const Mutex &other)=delete
Mutex & operator= (const Mutex &other)=delete

Private Attributes

mutex_t m_handle
unsigned m_lockCount

Detailed Description

Definition at line 31 of file mutex.h.

Constructor & Destructor Documentation

◆ Mutex()

NSROOT::OS::Mutex::Mutex ( )
inline

Definition at line 34 of file mutex.h.

◆ ~Mutex()

NSROOT::OS::Mutex::~Mutex ( )
inline

Definition at line 40 of file mutex.h.

Member Function Documentation

◆ clear()

void NSROOT::OS::Mutex::clear ( )
inline

Definition at line 80 of file mutex.h.

◆ lock()

void NSROOT::OS::Mutex::lock ( )
inline

Definition at line 61 of file mutex.h.

◆ native_handle()

mutex_t * NSROOT::OS::Mutex::native_handle ( )
inline

Definition at line 46 of file mutex.h.

◆ try_lock()

bool NSROOT::OS::Mutex::try_lock ( )
inline

Definition at line 51 of file mutex.h.

◆ unlock()

void NSROOT::OS::Mutex::unlock ( )
inline

Definition at line 67 of file mutex.h.

Field Documentation

◆ m_handle

mutex_t NSROOT::OS::Mutex::m_handle
private

Definition at line 96 of file mutex.h.

◆ m_lockCount

unsigned NSROOT::OS::Mutex::m_lockCount
private

Definition at line 97 of file mutex.h.


The documentation for this class was generated from the following file:
  • /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/os/threads/mutex.h