[][src]Function killable_thread::spawn_with_builder

pub fn spawn_with_builder<F, T>(
    thread_builder: Builder,
    f: F
) -> Result<StoppableHandle<T>> where
    F: FnOnce(&SimpleAtomicBool) -> T,
    F: Send + 'static,
    T: Send + 'static,