gecko-dev/third_party/rust/crossbeam-epoch
Nathan Froyd b93bf873ba Bug 1502964 - part 2 - update winapi to froydnj/winapi-rs#aarch64; r=ted.mielczarek 2018-11-02 10:56:08 -04:00
..
benches
examples Bug 1484462 - Revendor Rust dependencies. r=ato 2018-08-23 13:15:36 +01:00
src Bug 1484462 - Revendor Rust dependencies. r=ato 2018-08-23 13:15:36 +01:00
.cargo-checksum.json Bug 1502964 - part 2 - update winapi to froydnj/winapi-rs#aarch64; r=ted.mielczarek 2018-11-02 10:56:08 -04:00
CHANGELOG.md Bug 1484462 - Revendor Rust dependencies. r=ato 2018-08-23 13:15:36 +01:00
Cargo.toml Bug 1484462 - Revendor Rust dependencies. r=ato 2018-08-23 13:15:36 +01:00
LICENSE-APACHE
LICENSE-MIT
README.md Bug 1484462 - Revendor Rust dependencies. r=ato 2018-08-23 13:15:36 +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.4"

Next, add this to your crate:

extern crate crossbeam_epoch as epoch;

License

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

See LICENSE-MIT and LICENSE-APACHE for details.