Lines Matching full:atomic
1 //===-- atomic.c - Implement support functions for atomic operations.------===//
9 // atomic.c defines a set of functions for performing atomic accesses on
16 // 2) Atomic operations, rather than explicit mutexes, are most commonly used
21 // For operations that must be atomic on two locations, the lower lock is
66 /// locks for atomic operations
73 #include <machine/atomic.h>
92 /// locks for atomic operations
120 /// locks for atomic operations
134 // get collisions from atomic fields in a single object
178 /// Whether atomic operations for the given size (and alignment) are lock-free.
186 /// An atomic load operation. This is atomic with respect to the source
200 /// An atomic store operation. This is atomic with respect to the destination
214 /// Atomic compare and exchange operation. If the value at *ptr is identical
239 /// Performs an atomic exchange operation between two pointers. This is atomic
337 // Atomic read-modify-write operations for integers of various sizes.