Expand description
Garbage-Collected smart pointers with interior mutability.
Gc
Strictly speaking, Gc
Cycle collection was chosen because it has similar characteristics to Gc, providing all of the semantics Scheme expects and also plays nicely as a Rust type (no need to root/unroot).
Structs§
- Gc
- A Garbage-Collected smart pointer with interior mutability.
- GcHeader
- GcInner
- GcRead
Guard - GcWrite
Guard
Traits§
- Trace
- Safety
Functions§
- init_gc
- process_
mutation_ buffer - SAFETY: this function is not reentrant, may only be called by once per epoch, and must complete before the next epoch.