Skip to main content

spawn_os_thread

Function spawn_os_thread 

Source
pub fn spawn_os_thread<T: Send + Sync + 'static>(
    task: impl FnOnce() -> T + Send + 'static,
) -> SyncJoinHandle<T>