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

ATOMIC_*_LOCK_FREE

Defined in header <stdatomic.h>
#define ATOMIC_BOOL_LOCK_FREE     /* implementation-defined */
+#define ATOMIC_CHAR_LOCK_FREE     /* implementation-defined */
+#define ATOMIC_CHAR16_T_LOCK_FREE /* implementation-defined */
+#define ATOMIC_CHAR32_T_LOCK_FREE /* implementation-defined */
+#define ATOMIC_WCHAR_T_LOCK_FREE  /* implementation-defined */
+#define ATOMIC_SHORT_LOCK_FREE    /* implementation-defined */
+#define ATOMIC_INT_LOCK_FREE      /* implementation-defined */
+#define ATOMIC_LONG_LOCK_FREE     /* implementation-defined */
+#define ATOMIC_LLONG_LOCK_FREE    /* implementation-defined */
+#define ATOMIC_POINTER_LOCK_FREE  /* implementation-defined */
+
(since C11)
#define ATOMIC_CHAR8_T_LOCK_FREE  /* implementation-defined */
+
(since C23)

Expands to preprocessor constant expressions that evaluate to either 0, 1, or 2 which indicate the lock-free property of the corresponding atomic types (both signed and unsigned).

+ + + + +
Value Explanation
0 The atomic type is never lock-free
1 The atomic type is sometimes lock-free
2 The atomic type is always lock-free

References

+

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

+
-- cgit v1.2.3