ReactOS  0.4.14-dev-384-g5b37caa
_STLP_auto_lock Struct Reference

#include <_threads.h>

Public Member Functions

 _STLP_auto_lock (_STLP_STATIC_MUTEX &__lock)
 
 ~_STLP_auto_lock ()
 

Private Member Functions

void operator= (const _STLP_auto_lock &)
 
 _STLP_auto_lock (const _STLP_auto_lock &)
 

Private Attributes

_STLP_STATIC_MUTEX_M_lock
 

Detailed Description

Definition at line 423 of file _threads.h.

Constructor & Destructor Documentation

◆ _STLP_auto_lock() [1/2]

_STLP_auto_lock::_STLP_auto_lock ( _STLP_STATIC_MUTEX __lock)
inline

Definition at line 424 of file _threads.h.

424  : _M_lock(__lock)
425  { _M_lock._M_acquire_lock(); }
_STLP_STATIC_MUTEX & _M_lock
Definition: _threads.h:430

◆ ~_STLP_auto_lock()

_STLP_auto_lock::~_STLP_auto_lock ( )
inline

Definition at line 426 of file _threads.h.

427  { _M_lock._M_release_lock(); }
_STLP_STATIC_MUTEX & _M_lock
Definition: _threads.h:430

◆ _STLP_auto_lock() [2/2]

_STLP_auto_lock::_STLP_auto_lock ( const _STLP_auto_lock )
private

Member Function Documentation

◆ operator=()

Member Data Documentation

◆ _M_lock

_STLP_STATIC_MUTEX& _STLP_auto_lock::_M_lock
private

Definition at line 430 of file _threads.h.


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