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
495  { // compare/exchange
497  (_My_int*)_Tgt, (_My_int*)_Exp, *(_My_int*)_Value,
498  _Order1, _Order2));
499  }
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:2028
_Uint8_t _My_int
Definition: atomic:459
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_In_ _Value
Definition: corecrt_wstdlib.h:65
bool _Atomic_impl< 8U >::_Compare_exchange_weak ( void _Tgt,
void _Exp,
const void _Value,
memory_order  _Order1,
memory_order  _Order2 
) volatile
inline
486  { // compare/exchange
488  (_My_int*)_Tgt, (_My_int*)_Exp, *(_My_int*)_Value,
489  _Order1, _Order2));
490  }
_Uint8_t _My_int
Definition: atomic:459
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_In_ _Value
Definition: corecrt_wstdlib.h:65
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:2056
void _Atomic_impl< 8U >::_Exchange ( void _Left,
void _Right,
memory_order  _Order 
) volatile
inline
478  { // exchange
479  *(_My_int*)_Right =
481  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
_Uint8_t _My_int
Definition: atomic:459
_Uint8_t _Atomic_exchange_8(volatile _Uint8_t *_Tgt, _Uint8_t _Value, memory_order _Order)
Definition: xatomic.h:1930
constexpr const _Ty &() _Right
Definition: algorithm:3723
bool _Atomic_impl< 8U >::_Is_lock_free ( ) const volatile
inline
462  { // all operations are lock-free
463  return (true);
464  }
void _Atomic_impl< 8U >::_Load ( void _Tgt,
const void _Src,
memory_order  _Order 
) const volatile
inline
473  { // load
474  *(_My_int*)_Tgt = _Atomic_load_8((_My_int*)_Src, _Order);
475  }
_Uint8_t _My_int
Definition: atomic:459
_In_ size_t _Out_opt_ int _In_z_ unsigned char const * _Src
Definition: mbstring.h:1039
_Uint8_t _Atomic_load_8(volatile _Uint8_t *_Tgt, memory_order _Order)
Definition: xatomic.h:1880
void _Atomic_impl< 8U >::_Store ( void _Tgt,
const void _Src,
memory_order  _Order 
) volatile
inline
467  { // store
468  _Atomic_store_8((_My_int*)_Tgt, *(_My_int*)_Src, _Order);
469  }
void _Atomic_store_8(volatile _Uint8_t *_Tgt, _Uint8_t _Value, memory_order _Order)
Definition: xatomic.h:1804
_Uint8_t _My_int
Definition: atomic:459
_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: