Single API and thread safety

2012-05-18 Thread Shen, Xiangyang (Xiangyang)
Hello, Our SNMP manager needs to monitor many snmp agents. The manage uses thread pool to get job done. I have read README.thread and user archives. I'm still not sure about how to use NetSnmp library so that our program is thread safe. Our current thinking is: 1. Use single mutex to control

Thread Safety !!!

2009-03-10 Thread Harish(SapphireIMS Team)
Hi, I want to integrate C/C++ application with net-snmp library. So I was going through net-snmp README files in version net-snmp-5.4.rc1 and found two things - 1) netsnmp.dll can be only used with Perl module and data will not be persistent if this is used with any other application. - Whethe

snmp_sess_synch_response and thread safety

2007-04-19 Thread Robert Caldecott
I am struggling to get snmp_sess_synch_response to work correctly from multiple threads and am experiencing STAT_TIMEOUT errors when attempting to perform an SNMP GET to multiple IP addresses simultaneously. I am using v5.4 of Net-SNMP on Linux (Ubuntu 6.10). Here is the code, stripped of error ch