Skip to main content

Module thread

Module thread 

Source
Expand description

Thread spawning, on the targets that have threads. Empty elsewhere: use future::spawn_detached, which is portable.

Structs§

JoinHandle
An owned permission to join on a thread (block on its termination).

Functions§

spawn
Spawns a new thread, returning a JoinHandle for it.