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