tag | 69beb14fe4846ae7060e7b0c594c276bab1d003d | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Dec 05 17:08:08 2022 -0800 |
object | 6c7cacdc9ebc797d7e016297b4835f62e2d85472 |
Android Security 12.0.0 Release 42 (9269288)
commit | 6c7cacdc9ebc797d7e016297b4835f62e2d85472 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Mar 24 01:05:31 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Mar 24 01:05:31 2021 +0000 |
tree | d8039a1ffb11378c74b2287a975c5dec58c4c672 | |
parent | 17215cee185d87f3a0d74c97ef7505e0dd14247c [diff] | |
parent | 60c589dd62a01230dc585c30b987f702e8ec2a98 [diff] |
Snap for 7230642 from 60c589dd62a01230dc585c30b987f702e8ec2a98 to sc-release Change-Id: I6db8ae9d7dfacecfd75eab5f81513a630c541b75
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.