atomic_compare_exchange_strong Function
Visual Studio 2012
Performs an atomic compare and exchange operation.
template <class Ty> inline bool atomic_compare_exchange_strong( volatile atomic<Ty> *Atom, Ty *Exp, Ty Value ) _NOEXCEPT; template <class Ty> inline bool atomic_compare_exchange_strong( atomic<Ty> *Atom, Ty *Exp, TyValue ) _NOEXCEPT;
This method performs an atomic compare and exchange operation by using implicit memory_order_seq_cst memory_order arguments. For more information, see atomic_compare_exchange_strong_explicit Function.