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