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

Member Function Documentation

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

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: