Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

perl threads and dual core hyper-threading

by JFarr (Sexton)
on Apr 25, 2006 at 22:01 UTC ( [id://545653]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach $host (@syshosts)                
    {    
        threads->new(\&locateSysHost_Parallel, $host);
    }                        
    (threads->list)[0]->join while threads->list;
    
  2. or download this
    foreach $host (@syshosts)                
    {    
        threads->new(\&locateSysHost_Parallel, $host)->join;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://545653]
Approved by ikegami
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-25 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found