Macros§
- atomic 🔒
Structs§
- A thread-safe mutable memory location.
- An atomic
()
.
Functions§
- Atomically compares data at
dst
tocurrent
and, if equal byte-for-byte, exchanges data atdst
withnew
. - Returns
true
if operations onAtomicCell<T>
are lock-free. - atomic_
load 🔒 ⚠Atomically reads data fromsrc
. - atomic_
store 🔒 ⚠Atomically writesval
todst
. - atomic_
swap 🔒 ⚠Atomically swaps data atdst
withval
. - Returns
true
if values of typeA
can be transmuted into values of typeB
. - lock 🔒Returns a reference to the global lock associated with the
AtomicCell
at addressaddr
.