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