commit | 84e3062c25cad5f7513b5307c2f652e29653febf | [log] [tgz] |
---|---|---|
author | Jakub Kotur <qtr@google.com> | Tue Mar 16 20:53:21 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Mar 16 20:53:21 2021 +0000 |
tree | 92ec3504482876b3cdf0915418c8d4b4f5191cd8 | |
parent | 349bd108c9f912678973d9ec43ee41c084beb66f [diff] | |
parent | 916462b5658d38320da0775f8602fd998e8e0148 [diff] |
Add metadata files for rayon-core. am: 33dd7a40ec am: 1e8361e9b3 am: 4c940bdf04 am: 916462b565 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/rayon-core/+/1621089 Change-Id: I4645a3005fd4dea6bf1a9604243652f7830ac6a4
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.