[lkml]   [2008]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: time_is_after_jiffies misnomer
    On Tue, Dec 16, 2008 at 12:31:41PM +0100, Peter T. Breuer wrote:
    > I thought at first that
    > time_is_after_jiffies(foo)
    > meant that the current time is later than foo jiffies.

    'foo jiffies'?

    It behaves like all the other time_(after|before) macros. "Compare a
    given time T against some other time X".

    T is always the first argument to these macros, it's never the current
    time. This is consistent.

    And jiffies, the X here, is a well-known global variable. :)

    The banner comment above the macro group should have clarified the
    misunderstanding, btw.


     \ /
      Last update: 2008-12-16 15:47    [W:0.018 / U:16.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site