tag | 4e73ea84ccb24b05edcac4593ab33dfc76afeafb | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Apr 24 17:08:27 2024 -0700 |
object | 74bdaf0251d85dffee668771e1f09d0ed89cb667 |
aml_uwb_341513070 (11503913,com.google.android.uwb)
commit | 74bdaf0251d85dffee668771e1f09d0ed89cb667 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:17:07 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:17:07 2023 +0000 |
tree | 03ff332f00013788b5fbe9b552f3d285627f560c | |
parent | b94e773777938a3ca23a55e0324458b3daca9879 [diff] | |
parent | a04647f49289e252243698da97cb54487c4baccf [diff] |
Snap for 10453563 from a04647f49289e252243698da97cb54487c4baccf to mainline-uwb-release Change-Id: I9759f51f771e7714b27923a1bb9d71fb21fad4fc
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.