starts threads sequentially, since join waits until the thread is finished. So if there are issues with threads running simultaneously, then you're not testing that in this case.foreach $host (@syshosts) { threads->new(\&locateSysHost_Parallel, $host)->join; }
In reply to Re: perl threads and dual core hyper-threading
by liz
in thread perl threads and dual core hyper-threading
by JFarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |