On 18 Jun 2003, jw schultz <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 18, 2003 at 09:09:59PM +1000, Martin Pool wrote:
> > On 17 Jun 2003, Rogier Wolff <[EMAIL PROTECTED]> wrote:
> > > 
> > > Oops. Missed one line in the last patch....
> > 
> > Thankyou.  That looks good.
> > 
> > If we're going to make this more accurate it might be worthwhile to
> > actually look at how long we really did sleep for, and use that to
> > adjust time_to_sleep rather than resetting to zero.
> 
> That would have to be a platform specific thing since not
> all systems modify the timeout value to reflect the amount
> of time not slept.  Nevertheless that is a nice idea.

Right, I know that is not portable but I forgot to say so.  As Rogier
say, you need to call gettimeofday() or some such.

-- 
Martin 
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to