tag | e604c1c14c86f932d08bf95d1709de7c773d15ee | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Oct 20 22:46:50 2023 -0700 |
object | 0cb818af0b9514c5bf4af4c915b09d04c4c3a04c |
aml_med_340922010 (10648560,com.google.android.media)
commit | 0cb818af0b9514c5bf4af4c915b09d04c4c3a04c | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 04:56:45 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 04:56:45 2023 +0000 |
tree | 03ff332f00013788b5fbe9b552f3d285627f560c | |
parent | 0db4d157110d546aeba7fd229642c1609a06fc90 [diff] | |
parent | a04647f49289e252243698da97cb54487c4baccf [diff] |
Snap for 10453563 from a04647f49289e252243698da97cb54487c4baccf to mainline-media-release Change-Id: I0c88c0e1a94b2feb08a50ded119aea2cd4c0d05b
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.