|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Defined in header <stdatomic.h> | ||
#define ATOMIC_FLAG_INIT /* unspecified */ | (since C11) | |
Expands to an initializer that can be used to initializeatomic_flag type to the clear state. The value of anatomic_flag that is not initialized using this macro is indeterminate.
#include <stdatomic.h> atomic_flag flag= ATOMIC_FLAG_INIT;
(C11)(deprecated in C17)(removed in C23) | initializes a new atomic object (function macro)[edit] |
(C11) | lock-free atomic boolean flag (struct)[edit] |
C++ documentation forATOMIC_FLAG_INIT | |