Lines Matching full:atomic

42 .Nd type-generic atomic operations
96 provides type-generic macros for atomic operations.
97 Atomic operations can be used by multithreaded programs to provide
101 Atomic variables are declared using the
104 These variables are not type-compatible with their non-atomic
106 Depending on the compiler used, atomic variables may be opaque and can
111 macro initializes the atomic variable
115 Atomic variables can be initialized while being declared using
120 macro returns the value of atomic variable
124 macro sets the atomic variable
136 It sets the atomic variable
140 and returns the original contents of the atomic variable.
146 value into atomic variable
148 only if the atomic variable is equal to its
155 value is overwritten with the value of the atomic variable and
162 but is allowed to fail even if atomic variable
172 to atomic variable
174 and returns the original contents of the atomic variable.
180 operator to atomic variable
186 while returning the original contents of the atomic variable.
192 operator to atomic variable
198 while returning the original contents of the atomic variable.
204 from atomic variable
206 and returns the original contents of the atomic variable.
212 operator to atomic variable
218 while returning the original contents of the atomic variable.
222 macro returns whether atomic variable
224 uses locks when using atomic operations.
226 The atomic operations described previously are implemented in such a way
228 re-order any nearby memory operations across the atomic operation.
230 To mitigate this, every atomic operation has an
261 These atomic operations are typically implemented by the compiler, as
271 When using GCC, all atomic operations are executed as if they are using
274 Instead of using the atomic operations provided by this interface,
276 allows the atomic variables to be modified directly using built-in
279 To prevent unintended non-atomic access to these variables, this header
280 file places the atomic variable in a structure when using an older
284 atomic intrinsics, these macros may emit function calls to fallback
290 .Xr atomic 9