Function wasix::thread_sleep
source · pub unsafe fn thread_sleep(duration: Timestamp) -> Result<(), Errno>Expand description
Sends the current thread to sleep for a period of time
Parameters
duration- Amount of time that the thread should sleep