Crate punctual_sleep

source ·

Structs

Functions

  • Calls platform specific precise sleeping routine for specified platform. Note that it is just a convenient (and safe) wrapper over creating Sleeper and calling Sleeper::sleep so it may be more effecient to create Sleeper once and keep it. However, cost of creating Sleepers are not very high so you can safely ignore it.