[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 04:55:17 -0800 (PST)
sekhar raja <> wrote:

> What do i mean is with out Doing add_timer() can we
> use del_timer().

george anzinger is right, you may del_timer() at any time.
If the timer was actually queued, del_timer() returns 0, otherwise, it
returns 1.

But you should use del_timer_sync() to be sure, that your timer function
is not currentky running on other CPU.

> 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.056 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site