abrasion/third_party/cargo/vendor/crossbeam-epoch-0.6.1
q3k ac8a8b0f5a vendor all the shit. 2020-01-19 00:27:25 +01:00
..
benches vendor all the shit. 2020-01-19 00:27:25 +01:00
examples vendor all the shit. 2020-01-19 00:27:25 +01:00
src vendor all the shit. 2020-01-19 00:27:25 +01:00
.cargo-checksum.json vendor all the shit. 2020-01-19 00:27:25 +01:00
BUILD vendor all the shit. 2020-01-19 00:27:25 +01:00
CHANGELOG.md vendor all the shit. 2020-01-19 00:27:25 +01:00
Cargo.toml vendor all the shit. 2020-01-19 00:27:25 +01:00
LICENSE-APACHE vendor all the shit. 2020-01-19 00:27:25 +01:00
LICENSE-MIT vendor all the shit. 2020-01-19 00:27:25 +01:00
README.md vendor all the shit. 2020-01-19 00:27:25 +01:00

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.6"

Next, add this to your crate:

extern crate crossbeam_epoch as epoch;

The minimum required Rust version is 1.26.

License

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

See LICENSE-MIT and LICENSE-APACHE for details.