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