summaryrefslogtreecommitdiff
path: root/lib/thread/spawn+openbsd.myr
blob: 92cca944ab4f002183dd6c816db61f1b46de2c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"
}