std.ps
sleep_ms(ms)
ms
Sleep for a number of milliseconds
Suspends the calling process for ms milliseconds. Uses nanosleep(2) internally and restarts on EINTR.
nanosleep(2)