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
dst
tocurrent
and, if equal byte-for-byte, exchanges data atdst
withnew
. - atomic_
is_ ๐lock_ free - Returns
true
if operations onAtomicCell<T>
are lock-free. - atomic_
load ๐ โ - Atomically reads data from
src
. - atomic_
store ๐ โ - Atomically writes
val
todst
. - atomic_
swap ๐ โ - Atomically swaps data at
dst
withval
. - can_
transmute ๐ - 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
.