From: george anzinger <george@mvista.com>
To: sekhar raja <manamraja@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Doubt in Kernel Timers
Date: Mon, 26 Nov 2001 09:58:07 -0800 [thread overview]
Message-ID: <3C0282AF.7C96B32A@mvista.com> (raw)
In-Reply-To: <20011126125517.27715.qmail@web14504.mail.yahoo.com>
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.
--
George george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Real time sched: http://sourceforge.net/projects/rtsched/
next prev parent reply other threads:[~2001-11-26 17:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-26 12:55 Doubt in Kernel Timers sekhar raja
2001-11-26 17:58 ` george anzinger [this message]
2001-11-27 5:36 ` Evgeniy Polyakov
2001-11-27 7:08 ` sekhar raja
2001-11-27 7:57 ` Evgeniy Polyakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C0282AF.7C96B32A@mvista.com \
--to=george@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manamraja@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.