All of lore.kernel.org
 help / color / mirror / Atom feed
From: sekhar raja <manamraja@yahoo.com>
To: johnpol@2ka.mipt.ru
Cc: linux-kernel@vger.kernel.org
Subject: Re: Doubt in Kernel Timers
Date: Mon, 26 Nov 2001 23:08:45 -0800 (PST)	[thread overview]
Message-ID: <20011127070845.55943.qmail@web14510.mail.yahoo.com> (raw)
In-Reply-To: <20011127083602.0d19d985.johnpol@2ka.mipt.ru>


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

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

Thanks in Advance
-Rajasekhar

--- Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote:
> On Mon, 26 Nov 2001 04:55:17 -0800 (PST)
> sekhar raja <manamraja@yahoo.com> 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


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

  reply	other threads:[~2001-11-27  7:09 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
2001-11-27  5:36 ` Evgeniy Polyakov
2001-11-27  7:08   ` sekhar raja [this message]
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=20011127070845.55943.qmail@web14510.mail.yahoo.com \
    --to=manamraja@yahoo.com \
    --cc=johnpol@2ka.mipt.ru \
    --cc=linux-kernel@vger.kernel.org \
    /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.