tag | 6e4f9ae782b9815b5ce6fbe794fe039a3110f2ab | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Oct 10 12:13:14 2023 -0700 |
object | 56aa3cdad3d4c3ead47e87823842c164536c83da |
Android 14.0.0 release 10
commit | 56aa3cdad3d4c3ead47e87823842c164536c83da | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 05:18:03 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 05:18:03 2023 +0000 |
tree | 03ff332f00013788b5fbe9b552f3d285627f560c | |
parent | 3ea75b924cdf7951d6794ae7d9a90a75dd366946 [diff] | |
parent | 39abd63bd3956fa3cc2e1898a4ae1faee4e5f5da [diff] |
Snap for 9722771 from 39abd63bd3956fa3cc2e1898a4ae1faee4e5f5da to udc-d1-release Change-Id: Ib24d562e076b9a02cfaea255f55c430034424286
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.