Expand description
Epoch-based reclamation.
The epoch consensus algorithm and the use of memory barriers and RMW semantics are similar to
that of crossbeam_epoch
, however the API set is vastly
different, for instance, unsafe
blocks are not required to read an instance subject to EBR.
Structs§
AtomicOwned
owns the underlying instance, and allows users to perform atomic operations on the pointer to it.AtomicShared
owns the underlying instance, and allows users to perform atomic operations on the pointer to it.Guard
allows the user to readAtomicShared
and keeps the underlying instance pinned to the thread.Owned
uniquely owns an instance.Ptr
points to an instance.Shared
is a reference-counted handle to an instance.
Enums§
Tag
is a four-stateEnum
that can be embedded in a pointer as the two least significant bits of the pointer value.
Traits§
Collectible
defines key methods forSelf
to be reclaimed by the EBR garbage collector.
Functions§
- Suspends the garbage collector of the current thread.