Skip to main content

spawn_with

Function spawn_with 

Source
pub fn spawn_with<F: FnOnce() + Send + 'static>(
    f: F,
    stack: &'static mut [u8],
    priority: i32,
) -> Thread
Expand description

Spawns a new thread that runs f, using the provided static stack buffer.