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ยง
- compose_tag ๐Given a tagged pointer
data
, returns the same pointer, but tagged withtag
. - 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ยง
- CompareAndSetErrorDeprecatedThe error returned on failed compare-and-set operation.