tag | 6a9e9b38d7151132999619446a15521c6c0e2322 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Mar 14 11:48:27 2024 -0700 |
object | c49ce2e6c8e4696f4a14076885289edeec78d594 |
aml_tz3_314012010
commit | c49ce2e6c8e4696f4a14076885289edeec78d594 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jun 15 21:43:44 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jun 15 21:43:44 2022 +0000 |
tree | b2f6376d7ac86207929c4a9b338b4313e06a8585 | |
parent | 8e004e857158abd495cfacdc0cd905ef2e3ae45f [diff] | |
parent | 746ceecf7cf7cd97801582f876a68ba474fe6e95 [diff] |
Snap for 8730993 from 746ceecf7cf7cd97801582f876a68ba474fe6e95 to mainline-tzdata3-release Change-Id: Iebf268421d99f2c160c7438c5511a259d95220a7
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
environments, provided that alloc
feature is enabled.
Add this to your Cargo.toml
:
[dependencies] crossbeam-epoch = "0.9"
Crossbeam Epoch supports stable Rust releases going back at least six months, and every time the minimum supported Rust version is increased, a new minor version is released. Currently, the minimum supported Rust version is 1.36.
Licensed under either of
at your option.
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.