tag | fffb33758311947cfc37db9a621ec56e996bbc7c | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Aug 10 16:19:17 2023 -0700 |
object | ffe52fbff9c5f1f8580d113a7100dca8c818b3f0 |
Android platform 12.1.0 release 18
commit | ffe52fbff9c5f1f8580d113a7100dca8c818b3f0 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Fri Apr 09 01:05:27 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Apr 09 01:05:27 2021 +0000 |
tree | b2f6376d7ac86207929c4a9b338b4313e06a8585 | |
parent | b281e11c711089c0d6b0f544f4a7c26a0ebbd147 [diff] | |
parent | dd8664866b7dd1c3e84f669e2bd49927ad0f7f1c [diff] |
Snap for 7269314 from dd8664866b7dd1c3e84f669e2bd49927ad0f7f1c to sc-v2-release Change-Id: Ia3ca909b8bbea4ef719a3910397c94620b17b11b
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.