meta data for this page

stdatomic.h

atomic_flag

atomic_flag is an atomic boolean type variable that is guaranteed to be lock-free.
It is used to provide synchronization within threads in programs. Unlike atomic_bool,
atomic_flag does not provide load or store operations.

atomic_flag

atomic vars

Atomic variables are not guaranteed to be lock-free. It depends on implementation, e.g: Atomic access can be provided by spin locks.

others