shithub: mc

ref: 3c7cf598f83d27ac3b98e0061075052f9f9baaf1
dir: /lib/std/sleep.myr/

View raw version
use "syswrap-ss"
use "types"

pkg std =
	const usleep	: (tm : time -> void)
;;

const usleep = {tm
	nanosleep((tm * 1000 : uint64))
}