pub fn spawn<D, F, T>(nid: &NodeId, label: D, f: F) -> JoinHandle<T>where D: Display, F: FnOnce() -> T + Send + 'static, T: Send + 'static,
Spawn an OS thread.