pub fn linux_sleep(duration: Duration)
Available on crate features
unsafe_syscall
and linux
only.Expand description
Suspends execution of calling thread for duration
.
This function makes use of the linux_sys_nanosleep
syscall.