std.ps.sleep_ms

std.ps

sleep_ms(ms)

Sleep for a number of milliseconds

Suspends the calling process for ms milliseconds. Uses nanosleep(2) internally and restarts on EINTR.