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 callingSleeper::sleep
so it may be more effecient to createSleeper
once and keep it. However, cost of creatingSleeper
s are not very high so you can safely ignore it.