Module thread
Source Expand description
- Thread
- An operating system thread.
- 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.