hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Session expiration caused by time change
Date Thu, 19 Aug 2010 15:36:25 GMT
a) that only provides monotonic time, not smooth time

b) that is C, the server is Java

Could be hard to get the benefit we need.

On Thu, Aug 19, 2010 at 8:27 AM, Martin Waite <waite.134@gmail.com> wrote:

> Hi,
>
> I'm not sure if you mean the timers I was on about earlier.  If so,
> http://linux.die.net/man/3/clock_gettime
>
> Sufficiently recent versions of GNU libc and the Linux kernel support the
> following clocks:
>
> ...
> *CLOCK_MONOTONIC* Clock that cannot be set and represents monotonic time
> since some unspecified starting point. Although re-reading that now, I
> might
> have applied wishful thinking to my interpretation.
>
> regards,
> Martin
>
>
> On 19 August 2010 16:13, Benjamin Reed <breed@yahoo-inc.com> wrote:
>
> > do you have a pointer to those timers?
> >
> > thanx
> > ben
> >
> >
> > On 08/18/2010 11:58 PM, Martin Waite wrote:
> >
> >>  On Linux, I believe that there is a class of timers
> >> provided that is immune to this, but I doubt that there is a platform
> >> independent way of coping with this.
> >>
> >>
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message