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 that mentioned net-snmp is not thread-safe. That applies to the SNMP handling. You can't safely have two threads in the agent, both processing SNMP requests. The agent hasn't been designed to support that. But if your second thread is only concerned with maintaining this queue (and you've got suitable coordination between this thread and the main agent code that uses it), then you should be OK. Dave ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
