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