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.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 devdocs/c/atomic%2Fatomic_flag.html (limited to 'devdocs/c/atomic%2Fatomic_flag.html') diff --git a/devdocs/c/atomic%2Fatomic_flag.html b/devdocs/c/atomic%2Fatomic_flag.html new file mode 100644 index 00000000..9ce4958c --- /dev/null +++ b/devdocs/c/atomic%2Fatomic_flag.html @@ -0,0 +1,26 @@ +

atomic_flag

Defined in header <stdatomic.h>
struct 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.

+

References

See also

+ + + +
+
(C11)
initializes a new atomic_flag
(macro constant)
+
(C11)
sets an atomic_flag to true and returns the old value
(function)
+
(C11)
sets an atomic_flag to false
(function)
C++ documentation for atomic_flag
+

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

+
-- cgit v1.2.3