MythTV  master
Public Member Functions | Private Attributes | Friends | List of all members
cMutex Class Reference

#include <dvbci.h>

Collaboration diagram for cMutex:
Collaboration graph
[legend]

Public Member Functions

 cMutex (void)
 
 ~cMutex ()
 
void Lock (void)
 
void Unlock (void)
 

Private Attributes

pthread_mutex_t m_mutex
 
pid_t m_lockingPid {0}
 
int m_locked {0}
 

Friends

class cCondVar
 

Detailed Description

Definition at line 46 of file dvbci.h.

Constructor & Destructor Documentation

◆ cMutex()

cMutex::cMutex ( void  )
inline

Definition at line 53 of file dvbci.h.

◆ ~cMutex()

cMutex::~cMutex ( )
inline

Definition at line 54 of file dvbci.h.

Member Function Documentation

◆ Lock()

void cMutex::Lock ( void  )

Definition at line 180 of file dvbci.cpp.

Referenced by cMutexLock::Lock().

◆ Unlock()

void cMutex::Unlock ( void  )

Definition at line 189 of file dvbci.cpp.

Referenced by cMutexLock::~cMutexLock().

Friends And Related Function Documentation

◆ cCondVar

friend class cCondVar
friend

Definition at line 47 of file dvbci.h.

Member Data Documentation

◆ m_mutex

pthread_mutex_t cMutex::m_mutex
private

Definition at line 49 of file dvbci.h.

Referenced by cMutex(), Lock(), Unlock(), and ~cMutex().

◆ m_lockingPid

pid_t cMutex::m_lockingPid {0}
private

Definition at line 50 of file dvbci.h.

Referenced by Lock(), and Unlock().

◆ m_locked

int cMutex::m_locked {0}
private

Definition at line 51 of file dvbci.h.

Referenced by Lock(), and Unlock().


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