Defined in header <stdatomic.h> | ||
---|---|---|
#define ATOMIC_FLAG_INIT /* unspecified */ | (since C11) |
Expands to an expression that can be used to initialize atomic_flag
type. The value atomic_flag
that is not initialized using this macro is undefined.
#include <stdatomic.h> atomic_flag flag = ATOMIC_FLAG_INIT;
(C11)(deprecated) | initializes a new atomic object (function macro) |
(C11) | lock-free atomic boolean flag (struct) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/c/atomic/ATOMIC_FLAG_INIT