tag | 335bc7c7bd35783f69ccb0c6b8ae4faf3fd6219f | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Feb 01 16:52:00 2023 -0800 |
object | e54495cf48f6bcfa3e79a69d1af000b3b51c9c6d |
Platform Tools Release 33.0.4 (9550387)
commit | e54495cf48f6bcfa3e79a69d1af000b3b51c9c6d | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 01 10:59:53 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 01 10:59:53 2023 +0000 |
tree | 74300e867db33e59602c1ef259c41d17ba545b63 | |
parent | a00bd78a5d224d0fd523e96ce744edfe46ffa424 [diff] | |
parent | 85c65d97911ef3cb44e87ceaeb7fb1ea81de69b5 [diff] |
Snap for 9550355 from 85c65d97911ef3cb44e87ceaeb7fb1ea81de69b5 to sdk-release Change-Id: Ia2842badb2c2e8d87a8521f4cda3725aa9ecbe95
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.38.
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.