11 releases (4 breaking)
|0.5.2||Aug 2, 2018|
|0.5.1||Jul 20, 2018|
|0.5.0||Jun 12, 2018|
|0.4.1||Mar 20, 2018|
|0.2.0||Nov 29, 2017|
#3 in Concurrency
164,239 downloads per month
This crate provides epoch-based garbage collection for use in concurrent data structures.
If a thread removes a node from a concurrent data structure, other threads may still have pointers to that node, so it cannot be immediately destructed. Epoch GC allows deferring destruction until it becomes safe to do so.
Add this to your
[dependencies] crossbeam-epoch = "0.5"
Next, add this to your crate:
extern crate crossbeam_epoch as epoch;
The minimum required Rust version is 1.25.
Licensed under the terms of MIT license and the Apache License (Version 2.0).
- dev rand 0.5