Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 scrutinizing the Monastery: (4)
As of 2016-05-02 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?