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
142  : _Active(true), _MyMtxp(_Mtxp)
143  { // construct from mutex
144  }
bool _Active
Definition: xthread:158
_Mtx_t _MyMtxp
Definition: xthread:159
_Auto_mtx::~_Auto_mtx ( )
inline
147  { // destroy the object
148  if (_Active)
150  }
bool _Active
Definition: xthread:158
_CRTIMP2_PURE void __cdecl _Mtx_destroy(_Mtx_t)
_Mtx_t _MyMtxp
Definition: xthread:159

Member Function Documentation

void _Auto_mtx::_Release ( )
inline
153  { // release the mutex
154  _Active = false;
155  }
bool _Active
Definition: xthread:158

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: