tag | c03051bd301eb965938ccbe825b21649885a9deb | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Jun 08 14:19:19 2020 -0700 |
object | a4693ca406aa7a06e2f2093abbe1f56eb60907de |
Platform Tools Release 30.0.1 (6435776)
commit | a4693ca406aa7a06e2f2093abbe1f56eb60907de | [log] [tgz] |
---|---|---|
author | android-build-prod (mdb) <android-build-team-robot@google.com> | Mon Apr 27 21:46:21 2020 +0000 |
committer | android-build-prod (mdb) <android-build-team-robot@google.com> | Mon Apr 27 21:46:21 2020 +0000 |
tree | e689f8e4822d8e898501f577e3329345af52521e | |
parent | 55629747c3beca7abbdd157e757f695a7afa3731 [diff] | |
parent | 91b2cf40d1f85ab2ecc60a23d387486de7809c5a [diff] |
Snap for 6435660 from 91b2cf40d1f85ab2ecc60a23d387486de7809c5a to sdk-release Change-Id: I6cd4b96cfba03235d9d789f346d254bf0f5de141
This library provides the ThreadLocal
and CachedThreadLocal
types 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.0"
and this to your crate root:
extern crate thread_local;
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.