STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Macros | Functions | Variables
mutex File Reference
#include <thr/xthread>
#include <chrono>
#include <functional>
#include <thr/xmutex>

Classes

class  _Mutex_base
 
class  _Timed_mutex_base
 
class  mutex
 
class  recursive_mutex
 
class  timed_mutex
 
class  recursive_timed_mutex
 
struct  adopt_lock_t
 
struct  defer_lock_t
 
struct  try_to_lock_t
 
class  lock_guard< _Mutex >
 
class  unique_lock< _Mutex >
 
class  _Once_pad
 
class  _Once_target< _Target >
 
struct  once_flag
 
class  stdext::threads::mutex
 
class  stdext::threads::try_mutex
 
class  stdext::threads::timed_mutex
 

Namespaces

 stdext
 
 stdext::threads
 

Macros

#define _MUTEX_
 
#define _THR_MUTEX
 

Functions

template<class _Mutex >
void swap (unique_lock< _Mutex > &_Left, unique_lock< _Mutex > &_Right) _NOEXCEPT
 
template<class _Lock0 >
int _Try_lock (_Lock0 &_Lk0)
 
template<class _Lock0 , class _Lock1 , class... _LockN>
int _Try_lock (_Lock0 &_Lk0, _Lock1 &_Lk1, _LockN &..._LkN)
 
template<class _Lock0 , class... _LockN>
int try_lock (_Lock0 &_Lk0, _LockN &..._LkN)
 
template<class _Lock0 , class _Lock1 , class... _LockN>
void lock (_Lock0 &_Lk0, _Lock1 &_Lk1, _LockN &..._LkN)
 
_EXTERN_C _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Do_call (void *_Tgt)
 
template<class _Target >
void _Call_it (once_flag &_Flag, _Target _Tgt)
 
template<class _Fn , class... _Args>
void call_once (once_flag &_Flag, _Fn &&_Fx, _Args &&..._Ax)
 

Variables

_CRTIMP2_PURE const adopt_lock_t adopt_lock
 
_CRTIMP2_PURE const defer_lock_t defer_lock
 
_CRTIMP2_PURE const try_to_lock_t try_to_lock
 

Macro Definition Documentation

#define _MUTEX_
#define _THR_MUTEX

Function Documentation

template<class _Target >
void _Call_it ( once_flag _Flag,
_Target  _Tgt 
)
inline
template<class _Lock0 >
int _Try_lock ( _Lock0 &  _Lk0)
inline
template<class _Lock0 , class _Lock1 , class... _LockN>
int _Try_lock ( _Lock0 &  _Lk0,
_Lock1 &  _Lk1,
_LockN &...  _LkN 
)
inline
template<class _Fn , class... _Args>
void call_once ( once_flag _Flag,
_Fn &&  _Fx,
_Args &&...  _Ax 
)
inline
template<class _Lock0 , class _Lock1 , class... _LockN>
void lock ( _Lock0 &  _Lk0,
_Lock1 &  _Lk1,
_LockN &...  _LkN 
)
inline
template<class _Mutex >
void swap ( unique_lock< _Mutex > &  _Left,
unique_lock< _Mutex > &  _Right 
)
template<class _Lock0 , class... _LockN>
int try_lock ( _Lock0 &  _Lk0,
_LockN &...  _LkN 
)
inline

Variable Documentation

_CRTIMP2_PURE const adopt_lock_t adopt_lock
_CRTIMP2_PURE const defer_lock_t defer_lock
_CRTIMP2_PURE const try_to_lock_t try_to_lock