ref: 3355f31cb1efe35fab21e39e27c5cadcda93d51d
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))
;;
}