commit | 0aefcc3f659c58509fd166ed300cc9ceb4dd58fa | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Wed Nov 08 17:16:49 2023 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Wed Nov 08 17:16:49 2023 +0000 |
tree | a1cc9a60540936977e4bd79b8bd0126ef37c530f | |
parent | 4d865ffc6d495e0d08e4553f72af512f6b08cad9 [diff] |
Migrate to cargo_embargo. Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I5720ccb8b62d31f83c48aaec33387137275e3ff0
This provides something similar to what RwLock<Arc<T>>
is or what Atomic<Arc<T>>
would be if it existed, optimized for read-mostly write-seldom scenarios, with consistent performance characteristics.
Read the documentation before using.
The 1. version will build on any edition 2018 capable compiler. This does not include:
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.