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