shithub: mc

ref: 9bd7deeee3fa7b5c36fca2bb45349fe38847f8ab
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"
}