tag | 2a268e48a2a4a358747208abfd5683ba29a59819 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Apr 29 09:53:44 2024 -0700 |
object | f6d31945cd688a5e3e3c641bb5050b2f87dffcd0 |
aml_art_341514450 (11720836,com.google.android.art,com.google.android.go.art)
commit | f6d31945cd688a5e3e3c641bb5050b2f87dffcd0 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 04:45:07 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 04:45:07 2023 +0000 |
tree | 03ff332f00013788b5fbe9b552f3d285627f560c | |
parent | 9a8c98b0dfe19bcd148b8d26907796d45cad0f1e [diff] | |
parent | a04647f49289e252243698da97cb54487c4baccf [diff] |
Snap for 10453563 from a04647f49289e252243698da97cb54487c4baccf to mainline-art-release Change-Id: I81e2c332a43da54cc111bfc44c034125e1ba69c6
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.