Registry / async / crossbeam-epoch

crossbeam-epoch

JSON →
library0.9.18rscratesunverified

Epoch-based garbage collection for lock-free data structures.

# Cargo.toml [dependencies] crossbeam-epoch = "0.9.18"
INSTALL
IMPORT
SIG · CROSSBEAM-EPOCH
C
crossbeam-epoch
asyncrustv0.9.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Collector
use crossbeam_epoch::Collector;

Creates a new epoch-based garbage collector.

use crossbeam_epoch::Collector; fn main() { let collector = Collector::new(); println!("Collector created"); }
Debug
Known issues
gotchaRequires careful handling of epochs to avoid memory leaks or premature reclamation.
fix
Ensure proper pinning and unpinning of guards when accessing shared data.
affects: >=0.9.0
Upgrade
Version history
0.9.18latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
28
OpenAI (training)
1
Resources
crossbeam-epoch — cargo add crossbeam-epoch · libregistry