Module crossbeam_utils::atomic::atomic_cell

source ยท

Macrosยง

Structsยง

Functionsยง

  • atomic_compare_exchange_weak ๐Ÿ”’ โš 
    Atomically compares data at dst to current and, if equal byte-for-byte, exchanges data at dst with new.
  • 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.