pub fn spawn_thread<F, R>(cb: F) -> GCAwareJoinHandle<R>where F: 'static + FnOnce() -> R + Send + UnwindSafe, R: 'static + Send,
Spawns new thread and registers it with GC.