Module crossbeam_epoch::default
source · Expand description
The default garbage collector.
For each thread, a participant is lazily initialized on its first use, when the current thread is registered in the default collector. If initialized, the thread’s participant will get destructed on thread exit, which in turn unregisters the thread.
Constants§
- HANDLE 🔒The per-thread participant for the default garbage collector.
Functions§
- Returns the default global collector.
- Returns
true
if the current thread is pinned. - Pins the current thread.