tag | 5faea1714bcd5cafcd735e91380a5bd84ff8d106 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Aug 06 12:28:37 2020 -0700 |
object | b69fecd4a1853d75ed455a17516c4db82ef5ad14 |
Android R Beta 3
commit | b69fecd4a1853d75ed455a17516c4db82ef5ad14 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Sun Jul 12 14:50:31 2020 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Jul 13 15:59:30 2020 -0700 |
tree | ef3d40b9437d7c4c558a442b5eb6d4798e1df77b | |
parent | 33c60130a134345d90af4d55ce452123907a0e0e [diff] |
Regenerate Android.bp with new cargo2android.py Test: make Change-Id: Ic05cdcb6f2112a305b99d8ccbca3d39e282f4cb3
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.