foreach $host (@syshosts) { threads->new(\&locateSysHost_Parallel, $host)->join; }