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

Public Member Functions

 _Scoped_lock (mutex &_Mut)
 
 ~_Scoped_lock () _NOEXCEPT
 

Private Member Functions

 _Scoped_lock (const _Scoped_lock &)
 
_Scoped_lockoperator= (const _Scoped_lock &)
 

Private Attributes

void_Ptr
 

Constructor & Destructor Documentation

stdext::threads::_Scoped_lock::_Scoped_lock ( mutex _Mut)
inlineexplicit
64  : _Ptr(_Mut._Ptr)
65  {
66  _Mtx_lock(_Ptr);
67  }
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Mtx_lock(void *)
void * _Ptr
Definition: allocators:78
stdext::threads::_Scoped_lock::~_Scoped_lock ( )
inline
70  {
72  }
void * _Ptr
Definition: allocators:78
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Mtx_unlock(void *)
stdext::threads::_Scoped_lock::_Scoped_lock ( const _Scoped_lock )
private

Member Function Documentation

_Scoped_lock& stdext::threads::_Scoped_lock::operator= ( const _Scoped_lock )
private

Member Data Documentation

void* stdext::threads::_Scoped_lock::_Ptr
private

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