referrerpolicy=no-referrer-when-downgrade

spawn_worker_thread_with_stack_size

Function spawn_worker_thread_with_stack_size 

Source
pub fn spawn_worker_thread_with_stack_size<F, R>(
    name: &str,
    f: F,
    cond: Cond,
    outcome: WaitOutcome,
    stack_size: usize,
) -> Result<JoinHandle<R>>
where F: FnOnce() -> R + Send + 'static + UnwindSafe, R: Send + 'static,
Expand description

Runs a worker thread with the given stack size. See spawn_worker_thread.