From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/c/atomic%2Fatomic_flag_test_and_set.html | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 devdocs/c/atomic%2Fatomic_flag_test_and_set.html (limited to 'devdocs/c/atomic%2Fatomic_flag_test_and_set.html') diff --git a/devdocs/c/atomic%2Fatomic_flag_test_and_set.html b/devdocs/c/atomic%2Fatomic_flag_test_and_set.html deleted file mode 100644 index cd9bf556..00000000 --- a/devdocs/c/atomic%2Fatomic_flag_test_and_set.html +++ /dev/null @@ -1,22 +0,0 @@ -

atomic_flag_test_and_set, atomic_flag_test_and_set_explicit

Defined in header <stdatomic.h>
_Bool atomic_flag_test_and_set( volatile atomic_flag* obj );
-
(1) (since C11)
_Bool atomic_flag_test_and_set_explicit( volatile atomic_flag* obj, memory_order order );
-
(2) (since C11)

Atomically changes the state of a atomic_flag pointed to by obj to set (true) and returns the previous value. The first version orders memory accesses according to memory_order_seq_cst, the second version orders memory accesses according to order.

-

The argument is pointer to a volatile atomic flag to accept addresses of both non-volatile and volatile (e.g. memory-mapped I/O) atomic flags.

-

Parameters

- - -
obj - pointer to the atomic flag object to modify
order - the memory synchronization ordering for this operation: all values are permitted

Return value

The previous value held by the atomic flag pointed to by obj.

-

References

See also

- -
-
(C11)
sets an atomic_flag to false
(function)
C++ documentation for atomic_flag_test_and_set, atomic_flag_test_and_set_explicit
-

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

-
-- cgit v1.2.3