Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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.


Comment on Re: Running perl threads in loop

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 imbibing at the Monastery: (14)
As of 2014-10-30 16:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls