spawn

Function spawn 

Source
pub fn spawn<F: Send + 'static + FnOnce()>(name: &str, f: F)
Expand description

Spawn a thread with a given name.