From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/c/atomic%2Fatomic_flag_init.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 devdocs/c/atomic%2Fatomic_flag_init.html (limited to 'devdocs/c/atomic%2Fatomic_flag_init.html') diff --git a/devdocs/c/atomic%2Fatomic_flag_init.html b/devdocs/c/atomic%2Fatomic_flag_init.html new file mode 100644 index 00000000..dbe9fef1 --- /dev/null +++ b/devdocs/c/atomic%2Fatomic_flag_init.html @@ -0,0 +1,26 @@ +

ATOMIC_FLAG_INIT

Defined in header <stdatomic.h>
#define ATOMIC_FLAG_INIT /* unspecified */
+
(since C11)

Expands to an initializer that can be used to initialize atomic_flag type to the clear state. The value atomic_flag that is not initialized using this macro is indeterminate.

+

Example

#include <stdatomic.h>
+ 
+atomic_flag flag = ATOMIC_FLAG_INIT;

References

See also

+ + +
+
(C11)(deprecated in C17)(removed in C23)
initializes a new atomic object
(function macro)
+
(C11)
lock-free atomic boolean flag
(struct)
C++ documentation for ATOMIC_FLAG_INIT
+

+ © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
+ https://en.cppreference.com/w/c/atomic/ATOMIC_FLAG_INIT +

+
-- cgit v1.2.3