Module crossbeam_epoch::atomic

source ·


  • Array 🔒
    Array with size.
  • An atomic pointer that can be safely shared between threads.
  • The error returned on failed compare-and-swap operation.
  • An owned heap-allocated object.
  • A pointer to an object protected by the epoch GC.



  • Given a tagged pointer data, returns the same pointer, but tagged with tag.
  • Decomposes a tagged pointer data into the pointer and the tag.
  • Panics if the pointer is not properly unaligned.
  • low_bits 🔒
    Returns a bitmask containing the unused least significant bits of an aligned pointer to T.
  • Given ordering for the success case in a compare-exchange operation, returns the strongest appropriate ordering for the failure case.

Type Aliases§