• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

benches/H03-May-2022-159134

examples/H03-May-2022-181141

src/H03-May-2022-4,0822,065

.cargo-checksum.jsonH A D03-May-202289 11

.cargo_vcs_info.jsonH A D01-Jan-197074 65

CHANGELOG.mdH A D24-Jul-20191.8 KiB8252

Cargo.lockH A D01-Jan-197011.5 KiB263232

Cargo.tomlH A D01-Jan-19701.6 KiB5547

Cargo.toml.orig-cargoH A D24-Jul-20191.2 KiB4840

LICENSE-APACHEH A D18-Jan-201910.6 KiB202169

LICENSE-MITH A D13-Jun-20191.1 KiB2823

README.mdH A D13-Jun-20191.8 KiB5438

README.md

1# Crossbeam Epoch
2
3[![Build Status](https://travis-ci.org/crossbeam-rs/crossbeam.svg?branch=master)](
4https://travis-ci.org/crossbeam-rs/crossbeam)
5[![License](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)](
6https://github.com/crossbeam-rs/crossbeam-epoch)
7[![Cargo](https://img.shields.io/crates/v/crossbeam-epoch.svg)](
8https://crates.io/crates/crossbeam-epoch)
9[![Documentation](https://docs.rs/crossbeam-epoch/badge.svg)](
10https://docs.rs/crossbeam-epoch)
11[![Rust 1.26+](https://img.shields.io/badge/rust-1.26+-lightgray.svg)](
12https://www.rust-lang.org)
13[![chat](https://img.shields.io/discord/569610676205781012.svg?logo=discord)](https://discord.gg/BBYwKq)
14
15This crate provides epoch-based garbage collection for building concurrent data structures.
16
17When a thread removes an object from a concurrent data structure, other threads
18may be still using pointers to it at the same time, so it cannot be destroyed
19immediately. Epoch-based GC is an efficient mechanism for deferring destruction of
20shared objects until no pointers to them can exist.
21
22Everything in this crate except the global GC can be used in `no_std` environments, provided that
23features `alloc` and `nightly` are enabled.
24
25## Usage
26
27Add this to your `Cargo.toml`:
28
29```toml
30[dependencies]
31crossbeam-epoch = "0.7"
32```
33
34Next, add this to your crate:
35
36```rust
37extern crate crossbeam_epoch as epoch;
38```
39
40## License
41
42Licensed under either of
43
44 * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
45 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
46
47at your option.
48
49#### Contribution
50
51Unless you explicitly state otherwise, any contribution intentionally submitted
52for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
53dual licensed as above, without any additional terms or conditions.
54