On 31/01/07, duan qian <[EMAIL PROTECTED]> wrote:
> i am working on a project of network management baseed on net-snmp.
> it always happened that one thread can works well,and the others all stop
> at the line
> status = snmp_synch_response(ss, pdu, &response);
> does the function support multithread?
The "traditional" session API does not support multi-threading, no.
You need to look at using the "Single-Session API".
Please see README.thread for details.
(http://www.net-snmp.org/docs/README.thread.html)
Dave
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders