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