[lkml]   [2001]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Doubt in Kernel Timers
On Mon, 26 Nov 2001 23:08:45 -0800 (PST)
sekhar raja <> wrote:

> Do we need to Stop the timers if we want to Restart
> the timers with new expiry time.

You must simply use mod_timer() to change timer expires time.

> I see in some implementations the timers are not
> stoped before before they restart. Is it correct?

T.e. they are *not* use del_timer() and after it add_timer() with new
expires time?
With del and add some races can arise.
It is correct to use mod_timer().

> Thanks in Advance
> -Rajasekhar
WBR. //s0mbre
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.041 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site