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