Lines Matching refs:atomic
12 the [C11 memory model](https://en.cppreference.com/w/c/atomic/memory_order)
40 By default, C11 comes with two variants of each atomic "operation":
48 matching *seq_cst* atomic operations on your behalf.
95 (or `_Atomic volatile`), which allow for use of atomic
130 Qualifying atomic variables with `_Atomic` or even
139 atomic interfaces, but this header is considered obsolete
166 `os_atomic_store_wide` can be used to have access to atomic loads and store
169 ### Basic RMW (read/modify/write) atomic operations
171 The following basic atomic RMW operations exist:
173 - `inc`: atomic increment (equivalent to an atomic add of `1`),
174 - `dec`: atomic decrement (equivalent to an atomic sub of `1`),
175 - `add`: atomic add,
176 - `sub`: atomic sub,
177 - `or`: atomic bitwise or,
178 - `xor`: atomic bitwise xor,
179 - `and`: atomic bitwise and,
180 - `andnot`: atomic bitwise andnot (equivalent to atomic and of ~value),
181 - `min`: atomic min,
182 - `max`: atomic max.
188 *before* the atomic operation took place
191 *after* the atomic operation took place
199 2. Most subtle atomic algorithms do actually require the original value