shithub: mc

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