logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Defunct processess help: msg#00037

Subject: Re: Defunct processess help
Dougie! wrote:
Spawn the Run queues and connect them back...  Put each Reference in al
element in an array in the heap. As you spawn off SNMP polling tasks,
simply shift the reference fo the next Run Queue off the array and push
it back on the end in a Round Robin fashion.

Doing things this way may make better sense.
Actually... If your child processes are doing SNMP polling, you may want to consider using POE::Component::SNMP instead. This would eliminate the need for child processes altogether.

<disclaimer>I am the author of PoCo::SNMP</disclaimer>


L8r,
Rob



<Prev in Thread] Current Thread [Next in Thread>