tag | bf54f0637a0040605a486fd3ded8ff2159aa923a | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon May 06 21:48:02 2024 -0700 |
object | 2270943475e4502b8cd9c3e88e3bb1a9e094cefe |
Android platform 14.0.0 release 7
commit | 2270943475e4502b8cd9c3e88e3bb1a9e094cefe | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 02:22:41 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 02:22:41 2023 +0000 |
tree | 03ff332f00013788b5fbe9b552f3d285627f560c | |
parent | 735829d6c0bbdb31c2dc5a017a0918fae8c83876 [diff] | |
parent | 82f73610180d493bb867ca8e3250ddd11d9a8c3c [diff] |
Snap for 9719949 from 82f73610180d493bb867ca8e3250ddd11d9a8c3c to udc-release Change-Id: I75bdcff69d2db8a802e7e5406b7696e4b77c00ee
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.