STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
_Auto_mtx Class Reference

Public Member Functions

 _Auto_mtx (_Mtx_t *_Mtxp)
 
 ~_Auto_mtx () _NOEXCEPT
 
void _Release ()
 

Private Attributes

bool _Active
 
_Mtx_t_MyMtxp
 

Constructor & Destructor Documentation

_Auto_mtx::_Auto_mtx ( _Mtx_t _Mtxp)
inline
139  : _Active(true), _MyMtxp(_Mtxp)
140  { // construct from mutex
141  }
bool _Active
Definition: xthread:155
_Mtx_t * _MyMtxp
Definition: xthread:156
_Auto_mtx::~_Auto_mtx ( )
inline
144  { // destroy the object
145  if (_Active)
147  }
_CRTIMP2_PURE void __cdecl _Mtx_destroy(_Mtx_t *)
bool _Active
Definition: xthread:155
_Mtx_t * _MyMtxp
Definition: xthread:156

Member Function Documentation

void _Auto_mtx::_Release ( )
inline
150  { // release the mutex
151  _Active = false;
152  }
bool _Active
Definition: xthread:155

Member Data Documentation

bool _Auto_mtx::_Active
private
_Mtx_t* _Auto_mtx::_MyMtxp
private

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