Snap for 9921839 from 097a1e8e1828604e7a5f996ac7faad91ddb11c47 to udc-release am: 10546d8c9e

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/rayon-core/+/22582487

Change-Id: I42cab1aa83d7591b7a7d77f0a64c9a1196ba4e49
Signed-off-by: Automerger Merge Worker <[email protected]>
tree: ded15626a7744fe21c3f07d1e6d9230e28909490
  1. src/
  2. tests/
  3. .cargo_vcs_info.json
  4. Android.bp
  5. build.rs
  6. Cargo.toml
  7. Cargo.toml.orig
  8. cargo2android.json
  9. LICENSE-APACHE
  10. LICENSE-MIT
  11. METADATA
  12. MODULE_LICENSE_APACHE2
  13. OWNERS
  14. README.md
  15. TEST_MAPPING
README.md

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.59.0 or greater.