shithub: mc

ref: e65d5c4019e76430398e4ebc1cb734f1efea3b14
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))
}