shithub: mc

ref: eff0ab25c1d542934e1a5d9df45da403777dd3c6
dir: /lib/thread/spawn+netbsd.myr/

View raw version
use std

pkg thread =
	type tid = uint64

	const spawn : (fn : (-> void) -> std.result(tid, byte[:]))
;;

const spawn = {fn
	std.die("unimplemented\n")
	-> `std.Err "fuck"
}