On Mon, 26 Jul 2004 13:40:08 -0700 (PDT) Rahul wrote: RK> I am new to net-snmp and wanted a jumpstart to write a RK> multithreaded subagent that provides GET operation on RK> scalars. The variables managed by the agent will be RK> stored in memory and need to be updated by another RK> thread periodically. RK> RK> Whats the best approach to this problem?
I'd say keep the variable in shared memory. And keep all the net-snmp related code in the same thread, as it is not thread safe. -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders