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
449  { // compare/exchange
451  (_My_int*)_Tgt, (_My_int*)_Exp, *(_My_int*)_Value,
452  _Order1, _Order2));
453  }
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:1499
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_Uint4_t _My_int
Definition: atomic:413
_In_ _Value
Definition: corecrt_wstdlib.h:65
bool _Atomic_impl< 4U >::_Compare_exchange_weak ( void _Tgt,
void _Exp,
const void _Value,
memory_order  _Order1,
memory_order  _Order2 
) volatile
inline
440  { // compare/exchange
442  (_My_int*)_Tgt, (_My_int*)_Exp, *(_My_int*)_Value,
443  _Order1, _Order2));
444  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_Uint4_t _My_int
Definition: atomic:413
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:1527
_In_ _Value
Definition: corecrt_wstdlib.h:65
void _Atomic_impl< 4U >::_Exchange ( void _Left,
void _Right,
memory_order  _Order 
) volatile
inline
432  { // exchange
433  *(_My_int*)_Right =
435  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
_Uint4_t _Atomic_exchange_4(volatile _Uint4_t *_Tgt, _Uint4_t _Value, memory_order _Order)
Definition: xatomic.h:1401
_Uint4_t _My_int
Definition: atomic:413
constexpr const _Ty &() _Right
Definition: algorithm:3723
bool _Atomic_impl< 4U >::_Is_lock_free ( ) const volatile
inline
416  { // all operations are lock-free
417  return (true);
418  }
void _Atomic_impl< 4U >::_Load ( void _Tgt,
const void _Src,
memory_order  _Order 
) const volatile
inline
427  { // load
428  *(_My_int*)_Tgt = _Atomic_load_4((_My_int*)_Src, _Order);
429  }
_Uint4_t _My_int
Definition: atomic:413
_Uint4_t _Atomic_load_4(volatile _Uint4_t *_Tgt, memory_order _Order)
Definition: xatomic.h:1351
_In_ size_t _Out_opt_ int _In_z_ unsigned char const * _Src
Definition: mbstring.h:1039
void _Atomic_impl< 4U >::_Store ( void _Tgt,
const void _Src,
memory_order  _Order 
) volatile
inline
421  { // store
422  _Atomic_store_4((_My_int*)_Tgt, *(_My_int*)_Src, _Order);
423  }
void _Atomic_store_4(volatile _Uint4_t *_Tgt, _Uint4_t _Value, memory_order _Order)
Definition: xatomic.h:1288
_Uint4_t _My_int
Definition: atomic:413
_In_ size_t _Out_opt_ int _In_z_ unsigned char const * _Src
Definition: mbstring.h:1039

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