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
CompareAndSetOrderingDeprecated
Memory orderings for compare-and-set operations.
Types that are pointed to by a single word.
A trait for either
Owned
or Shared
pointers.Functions
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 Definitions
CompareAndSetErrorDeprecated
The error returned on failed compare-and-set operation.