atomic_flag - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# atomic_flag

From cppreference.com
< c‎ | atomic

Defined in header `<stdatomic.h>` |  |
typedef /* unspecified */ atomic_flag; |  | (since C11)

atomic_flag is an atomic boolean type. Unlike other atomic types, it is guaranteed to be lock-free. Unlike atomic_bool, `atomic_flag` does not provide load or store operations.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/atomic/atomic_flag&oldid=63522"