On Wed, 20 Sep 2006 13:41:07 +0100 Graeme wrote: GW> I've used 'mib2c -c mib2c.iterate.conf' to generate some template code GW> for my table. GW> My data is not held by the agent its self - which was my reasoning for GW> using the iterate config. GW> GW> The code all works fine, however, I need to protect the data to prevent GW> the agent performing reads on it (iterating over it) at the same time as GW> the data is being updated externally. Is there some way to know when a GW> get starts/ends so that I can protect my data.
the get_first_data_point function is a good indication that a get is starting. You could block there till the data update finishes. ------------------------------------------------------------------------- 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
