Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Running perl threads in loop

by Anonymous Monk
on Sep 16, 2013 at 12:10 UTC ( #1054286=note: print w/replies, xml ) Need Help??


in reply to Running perl threads in loop

A much better design is to spawn threads which accept requests from some sort of queue and process them repeatedly ... remaining alive the entire time. A thread is not a subroutine, even though it runs one.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2016-09-28 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (532 votes). Check out past polls.