tag | 6c7fa75589c47934a5c18cecfc973cf96e33484b | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed May 18 16:17:26 2022 -0700 |
object | 95e35587ecd99567ff6a17a4519c052567e4dcd6 |
Android CTS 12.1 Release 2 (8602832)
commit | 95e35587ecd99567ff6a17a4519c052567e4dcd6 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Mar 24 01:05:50 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Mar 24 01:05:50 2021 +0000 |
tree | d8039a1ffb11378c74b2287a975c5dec58c4c672 | |
parent | de7e3c829fafceacfc440b56d0c1342a7d609345 [diff] | |
parent | 60c589dd62a01230dc585c30b987f702e8ec2a98 [diff] |
Snap for 7230642 from 60c589dd62a01230dc585c30b987f702e8ec2a98 to sc-v2-release Change-Id: I31abb77663c92ed38233835c1c4ddaf0fd6c8548
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.