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

Public Types

typedef _Uint8_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 _Uint8_t _Atomic_impl< 8U >::_My_int

Member Function Documentation

bool _Atomic_impl< 8U >::_Compare_exchange_strong ( void _Tgt,
void _Exp,
const void _Value,
memory_order  _Order1,
memory_order  _Order2 
) volatile
inline
492  { // compare/exchange
494  (_My_int*)_Tgt, (_My_int*)_Exp, *(_My_int*)_Value,
495  _Order1, _Order2));
496  }
int _Atomic_compare_exchange_strong_8(volatile _Uint8_t *_Tgt, _Uint8_t *_Exp, _Uint8_t _Value, memory_order _Order1, memory_order _Order2)
Definition: xatomic.h:2062
_Uint8_t _My_int
Definition: atomic:456
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_In_ int _Value
Definition: setjmp.h:173
bool _Atomic_impl< 8U >::_Compare_exchange_weak ( void _Tgt,
void _Exp,
const void _Value,
memory_order  _Order1,
memory_order  _Order2 
) volatile
inline
483  { // compare/exchange
485  (_My_int*)_Tgt, (_My_int*)_Exp, *(_My_int*)_Value,
486  _Order1, _Order2));
487  }
_Uint8_t _My_int
Definition: atomic:456
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
int _Atomic_compare_exchange_weak_8(volatile _Uint8_t *_Tgt, _Uint8_t *_Exp, _Uint8_t _Value, memory_order _Order1, memory_order _Order2)
Definition: xatomic.h:2090
_In_ int _Value
Definition: setjmp.h:173
void _Atomic_impl< 8U >::_Exchange ( void _Left,
void _Right,
memory_order  _Order 
) volatile
inline
475  { // exchange
476  *(_My_int*)_Right =
478  }
constexpr const _Ty &() _Left
Definition: algorithm:3590
_Uint8_t _My_int
Definition: atomic:456
_Uint8_t _Atomic_exchange_8(volatile _Uint8_t *_Tgt, _Uint8_t _Value, memory_order _Order)
Definition: xatomic.h:1964
constexpr const _Ty &() _Right
Definition: algorithm:3591
bool _Atomic_impl< 8U >::_Is_lock_free ( ) const volatile
inline
459  { // all operations are lock-free
460  return (_Atomic_is_lock_free_8());
461  }
int _Atomic_is_lock_free_8(void)
Definition: xatomic.h:2488
void _Atomic_impl< 8U >::_Load ( void _Tgt,
const void _Src,
memory_order  _Order 
) const volatile
inline
470  { // load
471  *(_My_int*)_Tgt = _Atomic_load_8((_My_int*)_Src, _Order);
472  }
_Uint8_t _My_int
Definition: atomic:456
_Uint8_t _Atomic_load_8(volatile _Uint8_t *_Tgt, memory_order _Order)
Definition: xatomic.h:1914
void _Atomic_impl< 8U >::_Store ( void _Tgt,
const void _Src,
memory_order  _Order 
) volatile
inline
464  { // store
465  _Atomic_store_8((_My_int*)_Tgt, *(_My_int*)_Src, _Order);
466  }
void _Atomic_store_8(volatile _Uint8_t *_Tgt, _Uint8_t _Value, memory_order _Order)
Definition: xatomic.h:1838
_Uint8_t _My_int
Definition: atomic:456

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