tag | 7e464caf3cb67d7b5dc3a40c91eebcdb9c5e7331 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Aug 22 14:18:35 2022 -0700 |
object | 37f4a2fb84a7d347a86d691adc2bd35ee0c0fbf4 |
Platform Tools Release 33.0.3 (8952118)
commit | 37f4a2fb84a7d347a86d691adc2bd35ee0c0fbf4 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Aug 16 06:30:49 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Aug 16 06:30:49 2022 +0000 |
tree | 5ea8d132ab05426361c61684f35300352fd05ad1 | |
parent | 078551b76f5008a39771678559ae6394d9ceab07 [diff] | |
parent | cfb1a4bc37a7d8f509e2c288df232c76ab61ae11 [diff] |
Snap for 8952093 from cfb1a4bc37a7d8f509e2c288df232c76ab61ae11 to sdk-release Change-Id: I3cd105a3ba3c3ead62a78f57aeeead7d4231ca8e
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.