tag | febdd232890f53e0a872f8a445be40169e9c32ee | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Mar 04 15:18:52 2024 -0800 |
object | 998dd6a0ef3b80501e84e93a933429912e357fbc |
Android 14.0.0 release 29
commit | 998dd6a0ef3b80501e84e93a933429912e357fbc | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Nov 15 00:14:15 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Nov 15 00:14:15 2023 +0000 |
tree | 1c2c2e42823b3126dc945ed3ec2a6aeee86acdbf | |
parent | f312e6278a95ff5da11bfa5d8b5708a5835b901b [diff] | |
parent | ec909e419b98bdac2f0b20fa8e1b6d58188e2a89 [diff] |
Snap for 11097608 from ec909e419b98bdac2f0b20fa8e1b6d58188e2a89 to 24Q1-release Change-Id: Iab175962ef82acb61b3bf1e29bc88da4cf606a19
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.