Re: why set a timer to expire at the current value of jiffies?

2008-03-31 Thread Robert P. J. Day
On Mon, 31 Mar 2008, Mulyadi Santosa wrote: Hi On Sun, Mar 30, 2008 at 9:22 PM, Robert P. J. Day [EMAIL PROTECTED] wrote: i'm sure there's a simple answer to this, but what's the value in calling mod_timer() to reset a timer to expire at the current value of jiffies? $ grep

Re: why set a timer to expire at the current value of jiffies?

2008-03-31 Thread Mulyadi Santosa
Hi Robert On Mon, Mar 31, 2008 at 3:45 PM, Robert P. J. Day [EMAIL PROTECTED] wrote: sure, that's what i thought as well, but depending on the semantics of how timers work, can't you imagine an implementation that checks first and realizes right away that you're *already* at that time and

Re: why set a timer to expire at the current value of jiffies?

2008-03-30 Thread Mulyadi Santosa
Hi On Sun, Mar 30, 2008 at 9:22 PM, Robert P. J. Day [EMAIL PROTECTED] wrote: i'm sure there's a simple answer to this, but what's the value in calling mod_timer() to reset a timer to expire at the current value of jiffies? $ grep -rw mod_timer.*jiffies) *