lkml.org 
[lkml]   [2011]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [tip:timers/core] timerfd: Allow timers to be cancelled when clock was set
    On Wed, May 11, 2011 at 12:23, Peter Zijlstra <peterz@infradead.org> wrote:
    > On Mon, 2011-05-02 at 19:44 +0000, tip-bot for Thomas Gleixner wrote:
    >> Commit-ID:  99ee5315dac6211e972fa3f23bcc9a0343ff58c4
    >> Gitweb:     http://git.kernel.org/tip/99ee5315dac6211e972fa3f23bcc9a0343ff58c4
    >> Author:     Thomas Gleixner <tglx@linutronix.de>
    >> AuthorDate: Wed, 27 Apr 2011 14:16:42 +0200
    >> Committer:  Thomas Gleixner <tglx@linutronix.de>
    >> CommitDate: Mon, 2 May 2011 21:39:15 +0200
    >>
    >> timerfd: Allow timers to be cancelled when clock was set
    >>
    >> Some applications must be aware of clock realtime being set
    >> backward. A simple example is a clock applet which arms a timer for
    >> the next minute display. If clock realtime is set backward then the
    >> applet displays a stale time for the amount of time which the clock
    >> was set backwards. Due to that applications poll the time because we
    >> don't have an interface.
    >
    > Shouldn't that clock applet use CLOCK_MONOTONIC for the timer anyway?

    Like: Hey let's meet at the bar 5 hours after bootup? :)

    Kay
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-05-11 17:53    [W:0.024 / U:0.072 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site