Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: perl threads and dual core hyper-threading

by liz (Monsignor)
on Apr 25, 2006 at 22:10 UTC ( #545655=note: print w/replies, xml ) Need Help??


in reply to perl threads and dual core hyper-threading

FWIW,
foreach $host (@syshosts) { threads->new(\&locateSysHost_Parallel, $host)->join; }
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://545655]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2018-06-23 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (125 votes). Check out past polls.

    Notices?