x; y; z; #### use threads; my @threads = map async { x; y; z; }, 1 .. 48; $_->join for @threads;