STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
_Atomic_impl< 4U > Struct Template Reference

Public Types

typedef _Uint4_t _My_int
 

Public Member Functions

bool _Is_lock_free () const volatile
 
void _Store (void *_Tgt, const void *_Src, memory_order _Order) volatile
 
void _Load (void *_Tgt, const void *_Src, memory_order _Order) const volatile
 
void _Exchange (void *_Left, void *_Right, memory_order _Order) volatile
 
bool _Compare_exchange_weak (void *_Tgt, void *_Exp, const void *_Value, memory_order _Order1, memory_order _Order2) volatile
 
bool _Compare_exchange_strong (void *_Tgt, void *_Exp, const void *_Value, memory_order _Order1, memory_order _Order2) volatile
 

Member Typedef Documentation

typedef _Uint4_t _Atomic_impl< 4U >::_My_int

Member Function Documentation

bool _Atomic_impl< 4U >::_Compare_exchange_strong ( void _Tgt,
void _Exp,
const void _Value,
memory_order  _Order1,
memory_order  _Order2 
) volatile
inline
446  { // compare/exchange
448  (_My_int*)_Tgt, (_My_int*)_Exp, *(_My_int*)_Value,
449  _Order1, _Order2));
450  }
int _Atomic_compare_exchange_strong_4(volatile _Uint4_t *_Tgt, _Uint4_t *_Exp, _Uint4_t _Value, memory_order _Order1, memory_order _Order2)
Definition: xatomic.h:1533
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_Uint4_t _My_int
Definition: atomic:410
_In_ int _Value
Definition: setjmp.h:173
bool _Atomic_impl< 4U >::_Compare_exchange_weak ( void _Tgt,
void _Exp,
const void _Value,
memory_order  _Order1,
memory_order  _Order2 
) volatile
inline
437  { // compare/exchange
439  (_My_int*)_Tgt, (_My_int*)_Exp, *(_My_int*)_Value,
440  _Order1, _Order2));
441  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_Uint4_t _My_int
Definition: atomic:410
int _Atomic_compare_exchange_weak_4(volatile _Uint4_t *_Tgt, _Uint4_t *_Exp, _Uint4_t _Value, memory_order _Order1, memory_order _Order2)
Definition: xatomic.h:1561
_In_ int _Value
Definition: setjmp.h:173
void _Atomic_impl< 4U >::_Exchange ( void _Left,
void _Right,
memory_order  _Order 
) volatile
inline
429  { // exchange
430  *(_My_int*)_Right =
432  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
_Uint4_t _Atomic_exchange_4(volatile _Uint4_t *_Tgt, _Uint4_t _Value, memory_order _Order)
Definition: xatomic.h:1435
_Uint4_t _My_int
Definition: atomic:410
constexpr const _Ty &() _Right
Definition: algorithm:3591
bool _Atomic_impl< 4U >::_Is_lock_free ( ) const volatile
inline
413  { // all operations are lock-free
414  return (_Atomic_is_lock_free_4());
415  }
int _Atomic_is_lock_free_4(void)
Definition: xatomic.h:2483
void _Atomic_impl< 4U >::_Load ( void _Tgt,
const void _Src,
memory_order  _Order 
) const volatile
inline
424  { // load
425  *(_My_int*)_Tgt = _Atomic_load_4((_My_int*)_Src, _Order);
426  }
_Uint4_t _My_int
Definition: atomic:410
_Uint4_t _Atomic_load_4(volatile _Uint4_t *_Tgt, memory_order _Order)
Definition: xatomic.h:1385
void _Atomic_impl< 4U >::_Store ( void _Tgt,
const void _Src,
memory_order  _Order 
) volatile
inline
418  { // store
419  _Atomic_store_4((_My_int*)_Tgt, *(_My_int*)_Src, _Order);
420  }
void _Atomic_store_4(volatile _Uint4_t *_Tgt, _Uint4_t _Value, memory_order _Order)
Definition: xatomic.h:1322
_Uint4_t _My_int
Definition: atomic:410

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