tag | 2fc749b045f0241b11ab82c6023abd9d8f9c88cb | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Aug 02 00:06:26 2023 -0700 |
object | 8534db333d9fed73bf6d261c21aac3b7cfb76c15 |
aml_ads_331920180 (10315947,com.google.android.adservices)
commit | 8534db333d9fed73bf6d261c21aac3b7cfb76c15 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Mar 16 22:42:25 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Mar 16 22:42:25 2022 +0000 |
tree | 5ea8d132ab05426361c61684f35300352fd05ad1 | |
parent | db89653badb8ba44628df86ffa175707de574dc3 [diff] | |
parent | f8343a39f7646c78e7080653ca833c6e20575e4a [diff] |
Snap for 8310876 from f8343a39f7646c78e7080653ca833c6e20575e4a to mainline-adservices-release Change-Id: I14b5b6a169463cee9f9f860f416530437729777b
This library provides the ThreadLocal
type which allow a separate copy of an object to be used for each thread. This allows for per-object thread-local storage, unlike the standard library's thread_local!
macro which only allows static thread-local storage.
Add this to your Cargo.toml
:
[dependencies] thread_local = "1.1"
This crate's minimum supported Rust version (MSRV) is 1.36.0.
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.