tag | 6657a6448b6ba25789d198b4dca013fd324df328 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Sep 06 06:27:00 2023 -0700 |
object | 29faf9ce2a67d039a53a0228374c16792cf49798 |
Android platform 13.0.0 release 11
commit | 29faf9ce2a67d039a53a0228374c16792cf49798 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Nov 01 21:34:27 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Nov 01 21:34:27 2022 +0000 |
tree | 5ea8d132ab05426361c61684f35300352fd05ad1 | |
parent | 945d4c17d45cbfcd999f213f836774fc632d1726 [diff] | |
parent | 307a0496bca5c1fc0963682eb4b0f95e116564e8 [diff] |
Snap for 9239618 from 307a0496bca5c1fc0963682eb4b0f95e116564e8 to tm-platform-release Change-Id: I708ae085993ca88aec6899a297394e22c39f2a92
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.