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ยง
- Compare
AndSet Ordering Deprecated Memory 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 pointerdata
, returns the same pointer, but tagged withtag
. - decompose_
tag ๐Decomposes a tagged pointerdata
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 toT
. - Given ordering for the success case in a compare-exchange operation, returns the strongest appropriate ordering for the failure case.
Type Aliasesยง
- Compare
AndSet Error Deprecated The error returned on failed compare-and-set operation.