tag | d69b3e49f62d4eff1bcae419cab19f6186967711 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Feb 13 22:07:44 2024 -0800 |
object | 945d4c17d45cbfcd999f213f836774fc632d1726 |
Android VTS 13.0 Release 7 (11394504)
commit | 945d4c17d45cbfcd999f213f836774fc632d1726 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 10 02:06:09 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 10 02:06:09 2022 +0000 |
tree | 5ea8d132ab05426361c61684f35300352fd05ad1 | |
parent | 8abb5cbb2447c5664ea778d30d0f3f053f1ee548 [diff] | |
parent | 276a49e08ddb6270a8445bc6fea50d040aea6b9c [diff] |
Snap for 8283941 from 276a49e08ddb6270a8445bc6fea50d040aea6b9c to tm-release Change-Id: Ia6a7f056019182568e1b57c6825dcd3fd63c5f90
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.