STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
_ATOMIC_ITYPE Struct Reference
Inheritance diagram for _ATOMIC_ITYPE:
atomic< _ITYPE >

Public Member Functions

_ITYPE operator= (_ITYPE) volatile _NOEXCEPT
 
_ITYPE operator= (_ITYPE) _NOEXCEPT
 
bool is_lock_free () const volatile _NOEXCEPT
 
bool is_lock_free () const _NOEXCEPT
 
void store (_ITYPE, memory_order=memory_order_seq_cst) volatile _NOEXCEPT
 
void store (_ITYPE, memory_order=memory_order_seq_cst) _NOEXCEPT
 
_ITYPE load (memory_order=memory_order_seq_cst) const volatile _NOEXCEPT
 
_ITYPE load (memory_order=memory_order_seq_cst) const _NOEXCEPT
 
 operator _ITYPE () const volatile _NOEXCEPT
 
 operator _ITYPE () const _NOEXCEPT
 
_ITYPE exchange (_ITYPE, memory_order=memory_order_seq_cst) volatile _NOEXCEPT
 
_ITYPE exchange (_ITYPE, memory_order=memory_order_seq_cst) _NOEXCEPT
 
bool compare_exchange_weak (_ITYPE &, _ITYPE, memory_order, memory_order) volatile _NOEXCEPT
 
bool compare_exchange_weak (_ITYPE &, _ITYPE, memory_order, memory_order) _NOEXCEPT
 
bool compare_exchange_strong (_ITYPE &, _ITYPE, memory_order, memory_order) volatile _NOEXCEPT
 
bool compare_exchange_strong (_ITYPE &, _ITYPE, memory_order, memory_order) _NOEXCEPT
 
bool compare_exchange_weak (_ITYPE &, _ITYPE, memory_order=memory_order_seq_cst) volatile _NOEXCEPT
 
bool compare_exchange_weak (_ITYPE &, _ITYPE, memory_order=memory_order_seq_cst) _NOEXCEPT
 
bool compare_exchange_strong (_ITYPE &, _ITYPE, memory_order=memory_order_seq_cst) volatile _NOEXCEPT
 
bool compare_exchange_strong (_ITYPE &, _ITYPE, memory_order=memory_order_seq_cst) _NOEXCEPT
 

Public Attributes

_ATOMIC_UINT _My_val
 

Member Function Documentation

bool _ATOMIC_ITYPE::compare_exchange_strong ( _ITYPE _Exp,
_ITYPE  _Value,
memory_order  _Order1,
memory_order  _Order2 
) volatile
inline
738  { // compare and exchange value stored in *this with *_Exp, _Value
740  this, &_Exp, _Value, _Order1, _Order2));
741  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
bool atomic_compare_exchange_strong_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE *_Exp, _ITYPE _Value, memory_order _Order1, memory_order _Order2) _NOEXCEPT
Definition: xxatomic:604
_In_ int _Value
Definition: setjmp.h:173
bool _ATOMIC_ITYPE::compare_exchange_strong ( _ITYPE _Exp,
_ITYPE  _Value,
memory_order  _Order1,
memory_order  _Order2 
)
inline
746  { // compare and exchange value stored in *this with *_Exp, _Value
748  this, &_Exp, _Value, _Order1, _Order2));
749  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
bool atomic_compare_exchange_strong_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE *_Exp, _ITYPE _Value, memory_order _Order1, memory_order _Order2) _NOEXCEPT
Definition: xxatomic:604
_In_ int _Value
Definition: setjmp.h:173
bool _ATOMIC_ITYPE::compare_exchange_strong ( _ITYPE _Exp,
_ITYPE  _Value,
memory_order  _Order = memory_order_seq_cst 
) volatile
inline
754  { // compare and exchange value stored in *this with *_Exp, _Value
756  this, &_Exp, _Value, _Order, _Get_memory_order(_Order)));
757  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_STD_BEGIN memory_order _Get_memory_order(memory_order _Order)
Definition: atomic:39
bool atomic_compare_exchange_strong_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE *_Exp, _ITYPE _Value, memory_order _Order1, memory_order _Order2) _NOEXCEPT
Definition: xxatomic:604
_In_ int _Value
Definition: setjmp.h:173
bool _ATOMIC_ITYPE::compare_exchange_strong ( _ITYPE _Exp,
_ITYPE  _Value,
memory_order  _Order = memory_order_seq_cst 
)
inline
762  { // compare and exchange value stored in *this with *_Exp, _Value
764  this, &_Exp, _Value, _Order, _Get_memory_order(_Order)));
765  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_STD_BEGIN memory_order _Get_memory_order(memory_order _Order)
Definition: atomic:39
bool atomic_compare_exchange_strong_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE *_Exp, _ITYPE _Value, memory_order _Order1, memory_order _Order2) _NOEXCEPT
Definition: xxatomic:604
_In_ int _Value
Definition: setjmp.h:173
bool _ATOMIC_ITYPE::compare_exchange_weak ( _ITYPE _Exp,
_ITYPE  _Value,
memory_order  _Order1,
memory_order  _Order2 
) volatile
inline
706  { // compare and exchange value stored in *this with *_Exp, _Value
708  this, &_Exp, _Value, _Order1, _Order2));
709  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
bool atomic_compare_exchange_weak_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE *_Exp, _ITYPE _Value, memory_order _Order1, memory_order _Order2) _NOEXCEPT
Definition: xxatomic:572
_In_ int _Value
Definition: setjmp.h:173
bool _ATOMIC_ITYPE::compare_exchange_weak ( _ITYPE _Exp,
_ITYPE  _Value,
memory_order  _Order1,
memory_order  _Order2 
)
inline
714  { // compare and exchange value stored in *this with *_Exp, _Value
716  this, &_Exp, _Value, _Order1, _Order2));
717  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
bool atomic_compare_exchange_weak_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE *_Exp, _ITYPE _Value, memory_order _Order1, memory_order _Order2) _NOEXCEPT
Definition: xxatomic:572
_In_ int _Value
Definition: setjmp.h:173
bool _ATOMIC_ITYPE::compare_exchange_weak ( _ITYPE _Exp,
_ITYPE  _Value,
memory_order  _Order = memory_order_seq_cst 
) volatile
inline
722  { // compare and exchange value stored in *this with *_Exp, _Value
724  this, &_Exp, _Value, _Order, _Get_memory_order(_Order)));
725  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_STD_BEGIN memory_order _Get_memory_order(memory_order _Order)
Definition: atomic:39
bool atomic_compare_exchange_weak_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE *_Exp, _ITYPE _Value, memory_order _Order1, memory_order _Order2) _NOEXCEPT
Definition: xxatomic:572
_In_ int _Value
Definition: setjmp.h:173
bool _ATOMIC_ITYPE::compare_exchange_weak ( _ITYPE _Exp,
_ITYPE  _Value,
memory_order  _Order = memory_order_seq_cst 
)
inline
730  { // compare and exchange value stored in *this with *_Exp, _Value
732  this, &_Exp, _Value, _Order, _Get_memory_order(_Order)));
733  }
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short)
_STD_BEGIN memory_order _Get_memory_order(memory_order _Order)
Definition: atomic:39
bool atomic_compare_exchange_weak_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE *_Exp, _ITYPE _Value, memory_order _Order1, memory_order _Order2) _NOEXCEPT
Definition: xxatomic:572
_In_ int _Value
Definition: setjmp.h:173
_ITYPE _ATOMIC_ITYPE::exchange ( _ITYPE  _Value,
memory_order  _Order = memory_order_seq_cst 
) volatile
inline
693  { // exchange value stored in *this with _Value
694  return (atomic_exchange_explicit(this, _Value, _Order));
695  }
_ITYPE atomic_exchange_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE _Value, memory_order _Order) _NOEXCEPT
Definition: xxatomic:546
_In_ int _Value
Definition: setjmp.h:173
_ITYPE _ATOMIC_ITYPE::exchange ( _ITYPE  _Value,
memory_order  _Order = memory_order_seq_cst 
)
inline
699  { // exchange value stored in *this with _Value
700  return (atomic_exchange_explicit(this, _Value, _Order));
701  }
_ITYPE atomic_exchange_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE _Value, memory_order _Order) _NOEXCEPT
Definition: xxatomic:546
_In_ int _Value
Definition: setjmp.h:173
bool _ATOMIC_ITYPE::is_lock_free ( ) const volatile
inline
648  { // return true if operations on *this are lock-free
649  return (atomic_is_lock_free(this));
650  }
bool atomic_is_lock_free(const volatile _ATOMIC_ITYPE *) _NOEXCEPT
Definition: xxatomic:443
bool _ATOMIC_ITYPE::is_lock_free ( ) const
inline
653  { // return true if operations on *this are lock-free
654  return (atomic_is_lock_free(this));
655  }
bool atomic_is_lock_free(const volatile _ATOMIC_ITYPE *) _NOEXCEPT
Definition: xxatomic:443
_ITYPE _ATOMIC_ITYPE::load ( memory_order  _Order = memory_order_seq_cst) const volatile
inline
671  { // return value held in *this
672  return (atomic_load_explicit(this, _Order));
673  }
_ITYPE atomic_load_explicit(const volatile _ATOMIC_ITYPE *_Atom, memory_order _Order) _NOEXCEPT
Definition: xxatomic:522
_ITYPE _ATOMIC_ITYPE::load ( memory_order  _Order = memory_order_seq_cst) const
inline
677  { // return value held in *this
678  return (atomic_load_explicit(this, _Order));
679  }
_ITYPE atomic_load_explicit(const volatile _ATOMIC_ITYPE *_Atom, memory_order _Order) _NOEXCEPT
Definition: xxatomic:522
_ATOMIC_ITYPE::operator _ITYPE ( ) const volatile
inline
682  { // return value held in *this
683  return (atomic_load(this));
684  }
_ITYPE atomic_load(const volatile _ATOMIC_ITYPE *_Atom) _NOEXCEPT
Definition: xxatomic:534
_ATOMIC_ITYPE::operator _ITYPE ( ) const
inline
687  { // return value held in *this
688  return (atomic_load(this));
689  }
_ITYPE atomic_load(const volatile _ATOMIC_ITYPE *_Atom) _NOEXCEPT
Definition: xxatomic:534
_ITYPE _ATOMIC_ITYPE::operator= ( _ITYPE  _Value) volatile
inline
636  { // assign _Value to *this
637  atomic_store(this, _Value);
638  return (_Value);
639  }
void atomic_store(volatile _ATOMIC_ITYPE *_Atom, _ITYPE _Value) _NOEXCEPT
Definition: xxatomic:510
_In_ int _Value
Definition: setjmp.h:173
_ITYPE _ATOMIC_ITYPE::operator= ( _ITYPE  _Value)
inline
642  { // assign _Value to *this
643  atomic_store(this, _Value);
644  return (_Value);
645  }
void atomic_store(volatile _ATOMIC_ITYPE *_Atom, _ITYPE _Value) _NOEXCEPT
Definition: xxatomic:510
_In_ int _Value
Definition: setjmp.h:173
void _ATOMIC_ITYPE::store ( _ITYPE  _Value,
memory_order  _Order = memory_order_seq_cst 
) volatile
inline
659  { // store _Value into *this
660  atomic_store_explicit(this, _Value, _Order);
661  }
void atomic_store_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE _Value, memory_order _Order) _NOEXCEPT
Definition: xxatomic:496
_In_ int _Value
Definition: setjmp.h:173
void _ATOMIC_ITYPE::store ( _ITYPE  _Value,
memory_order  _Order = memory_order_seq_cst 
)
inline
665  { // store _Value into *this
666  atomic_store_explicit(this, _Value, _Order);
667  }
void atomic_store_explicit(volatile _ATOMIC_ITYPE *_Atom, _ITYPE _Value, memory_order _Order) _NOEXCEPT
Definition: xxatomic:496
_In_ int _Value
Definition: setjmp.h:173

Member Data Documentation

_ATOMIC_UINT _ATOMIC_ITYPE::_My_val

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