tag | 259a627e4a4780b45c600cbf9e914c7bb44a8a52 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Feb 14 11:27:17 2024 -0800 |
object | 9255829a23176c21729bf90e7d6291d1cab9fcc0 |
aml_cbr_341311010 (11178600,com.google.android.cellbroadcast)
commit | 9255829a23176c21729bf90e7d6291d1cab9fcc0 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:04:45 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:04:45 2023 +0000 |
tree | 03ff332f00013788b5fbe9b552f3d285627f560c | |
parent | 0655f2d7f5df46cbe0026d763ea3368afa0a82cd [diff] | |
parent | a04647f49289e252243698da97cb54487c4baccf [diff] |
Snap for 10447354 from a04647f49289e252243698da97cb54487c4baccf to mainline-cellbroadcast-release Change-Id: I8b9a0fd6fe3c27622fa63f8772af6a8e561151a3
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.