Right, it is not thread safe. I spent some time on the snmplib source code and found that neither snmpv2 nor snmpv3 is thread safe in net-snmp. However, if you just want to use some simple functions, you can write thread safe snmpv2 application easily using net-snmp. For snmpv3, there seems to be no easy way even for simple applications. There are just too many global stuff.
--- Wes Hardaker <[EMAIL PROTECTED]> wrote: > >>>>> On Tue, 25 May 2004 12:28:47 -0400, Robert > Story (Coders) <[EMAIL PROTECTED]> said: > > Robert> Did you follow all the advice in > README.threads? i.e. did you > Robert> do all the initialization in the main thread > (and only in the > Robert> main thread)? > > I don't think the SNMPv3 stuff has ever been > examined for > thread-safeness... It is likely not. > > -- > Wes Hardaker > Sparta > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new > InstallShield X. > From Windows to Linux, servers to mobile, > InstallShield X is the one > installation-authoring solution that does it all. > Learn more and > evaluate today! > http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Net-snmp-coders mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
