STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
stdext::threads::mutex Class Reference
Inheritance diagram for stdext::threads::mutex:
stdext::threads::_Mutex_base

Public Types

typedef _Scoped_lock scoped_lock
 
typedef mutex _Myt
 
typedef _Scoped_lock_imp< _Mytscoped_lock
 

Public Member Functions

 mutex ()
 
 ~mutex () _NOEXCEPT
 
 mutex ()
 

Private Member Functions

 mutex (const mutex &)
 
mutexoperator= (const mutex &)
 
 mutex (const _Myt &)
 
_Mytoperator= (const _Myt &)
 
- Private Member Functions inherited from stdext::threads::_Mutex_base
 _Mutex_base (int _Type)
 
 ~_Mutex_base () _NOEXCEPT
 
int lock ()
 
int try_lock ()
 
int timed_lock (const xtime &_Xt)
 
int unlock ()
 

Private Attributes

void_Ptr
 
- Private Attributes inherited from stdext::threads::_Mutex_base
mtx_t _Mtx
 

Friends

class _Scoped_lock
 

Member Typedef Documentation

Constructor & Destructor Documentation

stdext::threads::mutex::mutex ( )
inline
37  : _Ptr(0)
38  {
39  _Mtx_new(_Ptr);
40  }
void * _Ptr
Definition: allocators:51
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Mtx_new(void *&)
stdext::threads::mutex::~mutex ( )
inline
43  {
45  }
void * _Ptr
Definition: allocators:51
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Mtx_delete(void *)
stdext::threads::mutex::mutex ( const mutex )
private
stdext::threads::mutex::mutex ( )
inline
26  { // construct
27  }
_Mutex_base(int _Type)
Definition: xmutex:260
Definition: threads.h:39
stdext::threads::mutex::mutex ( const _Myt )
private

Member Function Documentation

_Myt& stdext::threads::mutex::operator= ( const _Myt )
private
mutex& stdext::threads::mutex::operator= ( const mutex )
private

Friends And Related Function Documentation

friend class _Scoped_lock
friend

Member Data Documentation

void* stdext::threads::mutex::_Ptr
private

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