Macrosยง
- atomic ๐
- impl_
arithmetic ๐
Structsยง
- Atomic
Cell - A thread-safe mutable memory location.
- Atomic
Unit ๐ - An atomic
().
Functionsยง
- atomic_
compare_ ๐ โexchange_ weak - Atomically compares data at
dsttocurrentand, if equal byte-for-byte, exchanges data atdstwithnew. - atomic_
is_ ๐lock_ free - Returns
trueif operations onAtomicCell<T>are lock-free. - atomic_
load ๐ โ - Atomically reads data from
src. - atomic_
store ๐ โ - Atomically writes
valtodst. - atomic_
swap ๐ โ - Atomically swaps data at
dstwithval. - can_
transmute ๐ - Returns
trueif values of typeAcan be transmuted into values of typeB. - lock ๐
- Returns a reference to the global lock associated with the
AtomicCellat addressaddr.