foobar2000 SDK  2015-08-03
Public Member Functions | Private Member Functions | Private Attributes
pfc::mutexScope

#include <synchro_nix.h>

Public Member Functions

 mutexScope (mutexBase *m) throw ()
 
 mutexScope (mutexBase &m) throw ()
 
 ~mutexScope () throw ()
 

Private Member Functions

 mutexScope (const mutexScope &)
 
void operator= (const mutexScope &)
 

Private Attributes

mutexBasem_mutex
 

Detailed Description

Definition at line 63 of file synchro_nix.h.

Constructor & Destructor Documentation

pfc::mutexScope::mutexScope ( mutexBase m)
throw (
)
inline

Definition at line 65 of file synchro_nix.h.

65 : m_mutex(m) { m_mutex->enter(); }
mutexBase * m_mutex
Definition: synchro_nix.h:70
pfc::mutexScope::mutexScope ( mutexBase m)
throw (
)
inline

Definition at line 66 of file synchro_nix.h.

66 : m_mutex(&m) { m_mutex->enter(); }
mutexBase * m_mutex
Definition: synchro_nix.h:70
pfc::mutexScope::~mutexScope ( )
throw (
)
inline

Definition at line 67 of file synchro_nix.h.

67 {m_mutex->leave();}
mutexBase * m_mutex
Definition: synchro_nix.h:70
pfc::mutexScope::mutexScope ( const mutexScope )
private

Member Function Documentation

void pfc::mutexScope::operator= ( const mutexScope )
private

Field Documentation

mutexBase* pfc::mutexScope::m_mutex
private

Definition at line 70 of file synchro_nix.h.


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