Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Reusable threads demo

by JoeKamel (Acolyte)
on Aug 19, 2008 at 19:32 UTC ( [id://705317]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (my $t = shift(@ready)){
         $shash{$t}{'data'} = shift @to_be_processed;
         $shash{$t}{'go'} = 1; 
    }
    
  2. or download this
    my @tready = @ready;
    @ready();
    ...
         $shash{$t}{'data'} = shift @to_be_processed;
         $shash{$t}{'go'} = 1; 
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://705317]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-29 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found