Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] deadline_timer makes wrong delay when using date command
From: Ray Burkholder (ray_at_[hidden])
Date: 2009-09-08 08:06:28


>
> > Am Monday 07 September 2009 13:24:58 schrieb Bjarne Laursen:
> >> I have used a deadline_timer to generate a polling every 1 second.
> >> Unfortunely when I use the linux date command the timing is
> curupted.
> >> (If
> >> I set the clock back 1 min. I will be missing 60 pollings).
> >> What can I do about that?
> >> -Bjarne
> >

One unorthodox solution would be to run NTP (www.ntp.org) on your servers.
This will keep the time in sync. There should be no need for changing time
on the system.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net