[lkml]   [2001]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Doubt in Kernel Timers
sekhar raja wrote:
> Hi Folks
> I have a doubt in Kernel Timers, Can we delete the
> Timer with out adding it to the timer List.
> What do i mean is with out Doing add_timer() can we
> use del_timer().
> If we can not do that, how do we check whether the
> particular timer is running or not.
> Your help will be greatly Appreciated, Please CC me
> the Answer as i am not Subscribe to the mailing list.
> Thanks in Advance
> -Rajasekhar
A quick glance at the source would assure you that YES you can
del_timer() at any time. Looking at this code you would discover that
the list linkage being NULL indicates that the timer is not active.

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