Module tetanes::thread

source ·

Functions§

  • Blocks unless or until the current thread’s token is made available or the specified duration has been reached (may wake spuriously).
  • Sleeps the current thread for the specified duration.
  • Spawn a future to be run until completion.