Home
last modified time | relevance | path

Searched refs:CustomSpawn (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/rayon-core/src/
Dlib.rs64 use self::registry::{CustomSpawn, DefaultSpawn, ThreadSpawn};
352 pub fn spawn_handler<F>(self, spawn: F) -> ThreadPoolBuilder<CustomSpawn<F>> in spawn_handler()
357 spawn_handler: CustomSpawn::new(spawn), in spawn_handler()
Dregistry.rs111 pub struct CustomSpawn<F>(F); struct
113 impl<F> CustomSpawn<F> implementation
118 CustomSpawn(spawn) in new()
122 impl<F> ThreadSpawn for CustomSpawn<F> implementation