Re: add a forever process in agent

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Fri, 2005-09-23 at 10:59 -0400, Robert Story wrote:
>      Looking at the code, it looks like it will run
> every 5 minutes from the last time it was run. Thus,
> each time the agent is busy when the timer expires,
> it will drift a little.

I've been thinking about this.
What would be the disadvantages of calculating
the next alarm time *before* invoking the callback
routine (rather than afterwards)?

That would allow a more regular invocation of
such routines, without this sort of drift.

Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.