shithub: mc

ref: 6f55ccbfe4eca08f1fa81f7cd19935ff53ac3e11
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"
}