[lkml]   [2010]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/7] notify userspace about time changes
    On Fri, Sep 17, 2010 at 12:22:36 +0200, Kay Sievers wrote:
    > On Fri, Sep 17, 2010 at 12:33, Alan Cox <> wrote:
    > >> Certain userspace applications (like "clock" desktop applets or cron) might
    > >> want to be notified when some other application changes the system time. It
    > >> might also be important for an application to be able to distinguish between
    > >> its own and somebody else's time changes.
    > >
    > > A program that cannot work out if it or someone else changed the time is
    > > very very broken indeed !
    > Yeah, that seems a bit weird to me too.

    Ok, I get it. Filtering has to go.

    > > Clocks apps don't care because they check the actual time so notice it
    > > shfited. Cron and anacron appear to contain the needed internal handling.
    > Cron wakes up every minute to check if the time has changed. We don't
    > want such silly behavior, but there are no other options at the moment
    > for scheduling re-occurring events.
    > > Anything sleeping until a time occurs maybe ? In which case its a lot
    > > simpler and cleaner than events to provide a new itimer which wakes the
    > > process when the wall time hits the time specified in the timer.
    > That seems not sufficient. The details should be in the changelog of the patch.

    Yes, I did include your description of the problem in the 0/7, but
    that doesn't seem sufficient. I really need to compile all the
    usecases from previous threads and include them in 1/7 as well.


     \ /
      Last update: 2010-09-17 13:17    [W:0.021 / U:10.964 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site