Re: thread in net-snmp

2005-11-16 Thread Dave Shield
On Wed, 2005-11-16 at 10:03 +0800, Jim Su wrote: > I wonder if I can make a separated thread to build > up the queue and continue the rest processes so the > queue building won't stop the normal function. Yes - that should work fine. > I read some articles in user email list and FQA > section t

thread in net-snmp

2005-11-15 Thread Jim Su
Hi Greeting: In my agent a routine is added to build up a queue after the REGISTER_MIB, then a snmp_alarm_register(300, ,) is added to update this queue every 5 minutes. It runs well. The only concern I have is the time to build the queue is getting longer when the system is kept up fo