tag | 5e2cf10db8c45362750341b00144eed387fec8f9 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu May 19 16:26:01 2022 -0700 |
object | f2c3c4a57c95b426515965df724f3deca100eb45 |
Platform Tools Release 33.0.1 (8253317)
commit | f2c3c4a57c95b426515965df724f3deca100eb45 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 16 00:04:31 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 16 00:04:31 2021 +0000 |
tree | 879d2bd02caa3477ad95271540188e8ab1a8f2fa | |
parent | 88fc1122eb96dbf99738377734753b946ef0a27f [diff] | |
parent | 14a929c58f3510f13c976172faa4e20c0f15a699 [diff] |
Snap for 8005954 from 14a929c58f3510f13c976172faa4e20c0f15a699 to sdk-release Change-Id: I98e6587c39421e312ccd3ef0b2e98c857702a4ac
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.