>>>>> On Tue, 9 Aug 2011 10:55:35 +0530, ESWAR RAO <[email protected]> said:
ER> Please let me know why run_alarms(); is used in ER> agent_check_and_process(); Because there are a lot of the internals to the library that require occasional callbacks. And in the process of dealing with incoming packets, the library must also do other things that were registered to be done at particular intervals. In fact, the time to sleep while waiting for packets is affected by the alarm statuses and thus if run_alarms() wasn't called the agent_check_and_process() would always return immediately because the timeout for the select would be "none". -- Wes Hardaker SPARTA, Inc. ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
