pub fn spawn<F, T>(intent: ThreadIntent, name: String, f: F) -> JoinHandle<T>
Expand description
ยงPanics
Panics if failed to spawn the thread.
pub fn spawn<F, T>(intent: ThreadIntent, name: String, f: F) -> JoinHandle<T>
Panics if failed to spawn the thread.