rayon-core 1.7.0

Core APIs for Rayon
Documentation
1
2
3
4
5
6
7
8
9
use rayon_core::ThreadPoolBuilder;

#[test]
fn init_zero_threads() {
    ThreadPoolBuilder::new()
        .num_threads(0)
        .build_global()
        .unwrap();
}