Re: thread-safe support of snmpd

2005-03-29 Thread lglyahoo-misc
--- Robert Story <[EMAIL PROTECTED]> wrote: >>> The only way to use snmpd in a multi-threaded >>> application is to keep ALL snmp >>> functionality in ONE thread. Other threads may >>> listen for non-snmp related >>> events, and notify the snmpd thread that a trap >>> needs to be sent, but the tr

thread-safe support of snmpd

2005-03-28 Thread lglyahoo-misc
Hi, I want to use snmpd to develop an application. I use callback mechanism(SNMP_CALLBACK_LIBRARY and SNMP_CALLBACK_SESSION_INIT) to let snmpd create a thread which will listen user defined events and update the global cache or generate traps according to the analysis of these events. The glob