shithub: mc

ref: c08505fb46fd8cdfee6b6f425709e5bc536f6a75
dir: /lib/thread/spawn+openbsd.myr/

View raw version
use std

pkg thread =
	type tid = uint64

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

const spawn = {fn;
	std.die("threads not supported yet on openbsd\n")
	-> `std.Fail "not supported"
}