commit | f473aca982fd65680ab6fae03bad9a88dd73ea6f | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Wed Mar 17 12:55:46 2021 -0700 |
committer | Bob Badour <bbadour@google.com> | Wed Mar 17 12:55:46 2021 -0700 |
tree | 94d4ebfabd135e1221ef63e678539ffb5acb6c19 | |
parent | 33dd7a40ec7d4f64e9e6b4e07ba57b3f5293b42e [diff] |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/rayon-core Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Idd3824686c4925e2e57871c01a24a5fa267315c9
Rayon-core represents the "core, stable" APIs of Rayon: join, scope, and so forth, as well as the ability to create custom thread-pools with ThreadPool.
Maybe worth mentioning: users are not necessarily intended to directly access rayon-core; all its APIs are mirror in the rayon crate. To that end, the examples in the docs use rayon::join and so forth rather than rayon_core::join.
rayon-core aims to never, or almost never, have a breaking change to its API, because each revision of rayon-core also houses the global thread-pool (and hence if you have two simultaneous versions of rayon-core, you have two thread-pools).
Please see Rayon Docs for details about using Rayon.
Rayon-core currently requires rustc 1.36.0
or greater.