An atomic pointer that can be safely shared between threads.
An epoch-based garbage collector.
The error returned on failed compare-and-set operation.
A guard that keeps the current thread pinned.
A handle to a garbage collector.
An owned heap-allocated object.
A pointer to an object protected by the epoch GC.
This function is useful for inducing random jitter into our atomic operations, shaking out more possible interleavings quickly. It gets fully elliminated by the compiler in non-test code.
Pins the current thread.
Returns a reference to a dummy guard that allows unprotected access to