Talk:c/atomic/atomic compare exchange
From cppreference.com
< Talk:c
What is the default memory order for these?
- The page says that default order for the first two versions is
memory_order_seq_cst. Is that what you were asking about? Nate 07:33, 24 September 2012 (PDT)
These functions are *not* volatile, they are _Atomic. _Atomic types are intended to be layout-compatible with C++ std::atomic types, and may have more padding than the non-_Atomic-qualified variants.