tag | 85f0d1d004be5a61db92110e8e205a2bc6cee7b2 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Jan 04 17:04:35 2024 -0800 |
object | 55bab2ab8e3a2bbd28c26992ee511e34637b13e1 |
frc_340819280 (11225212,com.google.android.art,com.google.android.go.art)
commit | 55bab2ab8e3a2bbd28c26992ee511e34637b13e1 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 18:02:30 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 18:02:30 2023 +0000 |
tree | 03ff332f00013788b5fbe9b552f3d285627f560c | |
parent | 7394d5c0cdf4ff52ac33ba1fe1f61281e1d20d7d [diff] | |
parent | 3485933787e4707bb9e8280f7ac59d482f7f6116 [diff] |
Snap for 9912757 from 3485933787e4707bb9e8280f7ac59d482f7f6116 to aml-frc-release Change-Id: I1bdb9b8461004cd91f0f31c43ebf22c4e8fbc7f7
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.59.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.