Epoch-based garbage collection
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
benches
examples Remove impl Send for Handle (#70) Mar 7, 2018
src Update crossbeam-utils Aug 2, 2018
.gitignore Add crate skeleton May 23, 2017
.travis.yml Set the minimum Rust version to 1.25 Jun 12, 2018
CHANGELOG.md
Cargo.toml Bump to v0.5.2 Aug 2, 2018
LICENSE-APACHE Add crate skeleton May 23, 2017
LICENSE-MIT Add crate skeleton May 23, 2017
README.md

README.md

Epoch-based garbage collection

Build Status License Cargo Documentation

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.

Usage

Add this to your Cargo.toml:

[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.

License

Licensed under the terms of MIT license and the Apache License (Version 2.0).

See LICENSE-MIT and LICENSE-APACHE for details.