Atomic Types

suggest change

Syntax

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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents