shithub: mc

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