Skip to main content

utils/multithreading/
mod.rs

1//! Multithreading helpers.
2
3#[cfg(feature = "scoped-tasks")]
4pub mod scoped_tasks;
5
6cfg_select! {
7    all(target_family = "wasm", feature = "wasm-multithreading") => {
8        #[path = "impl_wasm_scoped.rs"]
9        mod multithreading_impl;
10    }
11    target_family = "wasm" => {
12        #[path = "impl_wasm_stub.rs"]
13        mod multithreading_impl;
14    }
15    _ => {
16        #[path = "impl_native.rs"]
17        mod multithreading_impl;
18    }
19}
20pub use multithreading_impl::*;