gecko-dev/third_party/rust/crossbeam-epoch
Bastien Orivel 11f31bfdc8 Bug 1396824 - Part 2: Revendor dependencies. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D34632

--HG--
rename : third_party/rust/crossbeam-utils-0.3.2/Cargo.toml => third_party/rust/crossbeam-channel/Cargo.toml
rename : third_party/rust/crossbeam-utils-0.3.2/LICENSE-APACHE => third_party/rust/crossbeam-channel/LICENSE-APACHE
rename : third_party/rust/tokio-uds/LICENSE-MIT => third_party/rust/crossbeam-channel/LICENSE-MIT
rename : third_party/rust/tokio-timer/Cargo.toml => third_party/rust/headers-core/Cargo.toml
rename : third_party/rust/hyper/LICENSE => third_party/rust/headers-core/LICENSE
rename : third_party/rust/tokio-timer/Cargo.toml => third_party/rust/headers-derive/Cargo.toml
rename : third_party/rust/hyper/LICENSE => third_party/rust/headers-derive/LICENSE
rename : third_party/rust/hyper/LICENSE => third_party/rust/headers/LICENSE
rename : third_party/rust/tokio-timer/Cargo.toml => third_party/rust/input_buffer/Cargo.toml
rename : third_party/rust/crossbeam-utils-0.3.2/LICENSE-APACHE => third_party/rust/input_buffer/LICENSE-APACHE
rename : third_party/rust/hyper/LICENSE => third_party/rust/input_buffer/LICENSE-MIT
rename : third_party/rust/tokio-executor/Cargo.toml => third_party/rust/mime/Cargo.toml
rename : third_party/rust/crossbeam-utils-0.3.2/LICENSE-APACHE => third_party/rust/mime/LICENSE-APACHE
rename : third_party/rust/hyper/LICENSE => third_party/rust/mime/LICENSE-MIT
rename : third_party/rust/hyper/LICENSE => third_party/rust/mime_guess/LICENSE
rename : third_party/rust/scoped-tls/.cargo-checksum.json => third_party/rust/scoped-tls-0.1.0/.cargo-checksum.json
rename : third_party/rust/scoped-tls/Cargo.toml => third_party/rust/scoped-tls-0.1.0/Cargo.toml
rename : third_party/rust/crossbeam-utils-0.3.2/LICENSE-APACHE => third_party/rust/scoped-tls-0.1.0/LICENSE-APACHE
rename : third_party/rust/tokio-uds/LICENSE-MIT => third_party/rust/scoped-tls-0.1.0/LICENSE-MIT
rename : third_party/rust/scoped-tls/README.md => third_party/rust/scoped-tls-0.1.0/README.md
rename : third_party/rust/scoped-tls/src/lib.rs => third_party/rust/scoped-tls-0.1.0/src/lib.rs
rename : third_party/rust/tokio-uds/LICENSE-APACHE => third_party/rust/serde_urlencoded/LICENSE-APACHE
rename : third_party/rust/tokio-uds/LICENSE-MIT => third_party/rust/serde_urlencoded/LICENSE-MIT
rename : third_party/rust/tokio-executor/Cargo.toml => third_party/rust/tokio-current-thread/Cargo.toml
rename : third_party/rust/tokio-uds/LICENSE-MIT => third_party/rust/tokio-current-thread/LICENSE
rename : third_party/rust/tokio-timer/README.md => third_party/rust/tokio-current-thread/README.md
rename : third_party/rust/tokio/src/executor/current_thread/mod.rs => third_party/rust/tokio-current-thread/src/lib.rs
rename : third_party/rust/tokio/src/executor/current_thread/scheduler.rs => third_party/rust/tokio-current-thread/src/scheduler.rs
rename : third_party/rust/tokio-executor/src/lib.rs => third_party/rust/tokio-executor/src/executor.rs
rename : third_party/rust/tokio-timer/src/timer/level.rs => third_party/rust/tokio-timer/src/wheel/level.rs
rename : third_party/rust/tokio-uds/.cargo-checksum.json => third_party/rust/tokio-uds-0.1.7/.cargo-checksum.json
rename : third_party/rust/tokio-uds/Cargo.toml => third_party/rust/tokio-uds-0.1.7/Cargo.toml
rename : third_party/rust/crossbeam-utils-0.3.2/LICENSE-APACHE => third_party/rust/tokio-uds-0.1.7/LICENSE-APACHE
rename : third_party/rust/tokio-uds/LICENSE-MIT => third_party/rust/tokio-uds-0.1.7/LICENSE-MIT
rename : third_party/rust/tokio-uds/README.md => third_party/rust/tokio-uds-0.1.7/README.md
rename : third_party/rust/tokio-uds/src/frame.rs => third_party/rust/tokio-uds-0.1.7/src/frame.rs
rename : third_party/rust/tokio-uds/src/lib.rs => third_party/rust/tokio-uds-0.1.7/src/lib.rs
rename : third_party/rust/tokio-uds/src/ucred.rs => third_party/rust/tokio-uds-0.1.7/src/ucred.rs
rename : third_party/rust/tokio-uds/LICENSE-MIT => third_party/rust/tokio-uds/LICENSE
rename : third_party/rust/crossbeam-utils-0.3.2/LICENSE-APACHE => third_party/rust/tungstenite/LICENSE-APACHE
rename : third_party/rust/hyper/LICENSE => third_party/rust/tungstenite/LICENSE-MIT
rename : third_party/rust/tokio-timer/Cargo.toml => third_party/rust/unicase-1.4.2/Cargo.toml
rename : third_party/rust/hyper/LICENSE => third_party/rust/unicase-1.4.2/LICENSE
rename : third_party/rust/crossbeam-utils/Cargo.toml => third_party/rust/unicase/Cargo.toml
rename : third_party/rust/crossbeam-utils-0.3.2/LICENSE-APACHE => third_party/rust/unicase/LICENSE-APACHE
rename : third_party/rust/hyper/LICENSE => third_party/rust/unicase/LICENSE-MIT
rename : third_party/rust/hyper/LICENSE => third_party/rust/urlencoding/LICENSE
rename : third_party/rust/tokio-executor/Cargo.toml => third_party/rust/utf-8/Cargo.toml
rename : third_party/rust/tokio-timer/Cargo.toml => third_party/rust/version_check/Cargo.toml
rename : third_party/rust/crossbeam-utils-0.3.2/LICENSE-APACHE => third_party/rust/version_check/LICENSE-APACHE
rename : third_party/rust/hyper/LICENSE => third_party/rust/warp/LICENSE
extra : moz-landing-system : lando
2019-06-21 17:18:50 +00:00
..
benches Bug 1396824 - Part 2: Revendor dependencies. r=ato 2019-06-21 17:18:50 +00:00
examples Bug 1396824 - Part 2: Revendor dependencies. r=ato 2019-06-21 17:18:50 +00:00
src Bug 1396824 - Part 2: Revendor dependencies. r=ato 2019-06-21 17:18:50 +00:00
.cargo-checksum.json Bug 1396824 - Part 2: Revendor dependencies. r=ato 2019-06-21 17:18:50 +00:00
CHANGELOG.md Bug 1396824 - Part 2: Revendor dependencies. r=ato 2019-06-21 17:18:50 +00:00
Cargo.toml Bug 1396824 - Part 2: Revendor dependencies. r=ato 2019-06-21 17:18:50 +00:00
LICENSE-APACHE
LICENSE-MIT Bug 1396824 - Part 2: Revendor dependencies. r=ato 2019-06-21 17:18:50 +00:00
README.md Bug 1396824 - Part 2: Revendor dependencies. r=ato 2019-06-21 17:18:50 +00:00

README.md

Crossbeam Epoch

Build Status License Cargo Documentation Rust 1.26+

This crate provides epoch-based garbage collection for building concurrent data structures.

When a thread removes an object from a concurrent data structure, other threads may be still using pointers to it at the same time, so it cannot be destroyed immediately. Epoch-based GC is an efficient mechanism for deferring destruction of shared objects until no pointers to them can exist.

Everything in this crate except the global GC can be used in no_std + alloc environments.

Usage

Add this to your Cargo.toml:

[dependencies]
crossbeam-epoch = "0.7"

Next, add this to your crate:

extern crate crossbeam_epoch as epoch;

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.