Module atomic_cell

Source

Macrosยง

atomic ๐Ÿ”’
impl_arithmetic ๐Ÿ”’

Structsยง

AtomicCell
A thread-safe mutable memory location.
AtomicUnit ๐Ÿ”’
An atomic ().

Functionsยง

atomic_compare_exchange_weak ๐Ÿ”’ โš 
Atomically compares data at dst to current and, if equal byte-for-byte, exchanges data at dst with new.
atomic_is_lock_free ๐Ÿ”’
Returns true if operations on AtomicCell<T> are lock-free.
atomic_load ๐Ÿ”’ โš 
Atomically reads data from src.
atomic_store ๐Ÿ”’ โš 
Atomically writes val to dst.
atomic_swap ๐Ÿ”’ โš 
Atomically swaps data at dst with val.
can_transmute ๐Ÿ”’
Returns true if values of type A can be transmuted into values of type B.
lock ๐Ÿ”’
Returns a reference to the global lock associated with the AtomicCell at address addr.