tag | 726261603610b4a883c1b1cc2f16da603a3f0940 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Apr 14 12:02:00 2022 -0700 |
object | a23f645d3d2524f51b98fc655f40d37097ebe492 |
Android Mainline 12.0.0 Release 71 (8339062,com.google.android.cellbroadcast)
commit | a23f645d3d2524f51b98fc655f40d37097ebe492 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Tue Mar 23 15:53:41 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Mar 23 15:53:41 2021 +0000 |
tree | d8039a1ffb11378c74b2287a975c5dec58c4c672 | |
parent | 975103bbf6578c59467e9a72ecd92bcd8586684a [diff] | |
parent | 60c589dd62a01230dc585c30b987f702e8ec2a98 [diff] |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/thread_local am: eedd71f3ab am: a2b6c5c34c am: 769fe94c51 am: 60c589dd62 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/thread_local/+/1649177 Change-Id: I030f0979135c0ce348dda92f205ab7dbe9361f7c
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.