Android 14.0.0 Release 32 (AP1A.240405.002.A2)
Snap for 11097608 from 68da8abf9dd835bd0b38a0d93f2cea5ec3bd0186 to 24Q1-release

Change-Id: Ida19433867b9d69ac7ddace8b64f38f2b1df163b
tree: 6ee7f81a49b1253ad675dc236c145c7cb18f16c0
  1. benches/
  2. examples/
  3. src/
  4. tests/
  5. .cargo_vcs_info.json
  6. Android.bp
  7. build-common.rs
  8. build.rs
  9. Cargo.lock
  10. Cargo.toml
  11. Cargo.toml.orig
  12. cargo_embargo.json
  13. CHANGELOG.md
  14. LICENSE-APACHE
  15. LICENSE-MIT
  16. METADATA
  17. MODULE_LICENSE_APACHE2
  18. no_atomic.rs
  19. OWNERS
  20. README.md
  21. TEST_MAPPING
README.md

Crossbeam Epoch

Build Status License Cargo Documentation Rust 1.38+ chat

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.

Usage

Add this to your Cargo.toml:

[dependencies]
crossbeam-epoch = "0.9"

Compatibility

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.

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.