Module thread

Module thread 

Source
Expand description

Thread management.

Structs§

Thread
An operating system thread.

Functions§

block_on
Blocks the current thread until a given future is ready.
sleep
Blocks the current thread for a given duration.
start
Starts running an operation on a new thread.
yield_now
Cooperatively gives up a timeslice to the OS scheduler.