pub fn spawn<F, T>(f: F) -> JoinHandle<T>where F: FnOnce() -> T + Send + 'static, T: Send + 'static,
Spawn a thread and transfer the deterministic Context.