Atomic Types
suggest changeSyntax
- std::atomic<T>
- std::atomic_flag
Remarks
std::atomic allows atomic access to a TriviallyCopyable type. It is implementation-defined whether this is done with lock-free instructions or with locks. The only type guaranteed to be lock-free is std::atomic_flag.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents