Module crossbeam_epoch::atomic

source ยท

Structsยง

  • 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.

Traitsยง

Functionsยง

  • compose_tag ๐Ÿ”’
    Given a tagged pointer data, returns the same pointer, but tagged with tag.
  • decompose_tag ๐Ÿ”’
    Decomposes a tagged pointer data into the pointer and the tag.
  • ensure_aligned ๐Ÿ”’
    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ยง