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
- CompareAndSetOrderingDeprecatedMemory orderings for compare-and-set operations.
- Types that are pointed to by a single word.
- A trait for either
Owned
orShared
pointers.
Functions
- Given a tagged pointer
data
, returns the same pointer, but tagged withtag
. - 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
- CompareAndSetErrorDeprecatedThe error returned on failed compare-and-set operation.