ref: 50f182d770b59c438e5c381a03c7bfcd8c338196
dir: /lib/thread/util.myr/
use std
use thread
pkg thrtestutil =
	const mkherd : (n : uint32, fn : (-> void) ->void)
;;
const mkherd = {n, fn
	for var i = 0; i < n; i++
		std.try(thread.spawn(fn))
	;;
}