This is probably a newbie question, but I can find no answers elsewhere.
I am using Thread::Pool in an app I wrote, and it does not need much in the way of 
workers
so I only start 2, which then sit there and stream results back to the main thread.
My question is about the quantity of threads I see in the process table. Even though I 
only 
start 2, I have 5 script processes running while the app is going, the first is the 
main, and 
the last 2 appear to be the workers (based on traces), but I cannot figure out what 
the 
others are.  There are no other thread or fork calls anywhere in the script, and it 
does 
function properly so I'm assuming this is normal behavior but I would surely like to 
know 
why they are there. (I have tried tracing the "extras" but the process does not seem 
to 
like that and dies shortly after I attach to it).  Thanks.

Mike Culbertson

Reply via email to