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