mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: sekhar raja <manamraja@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Doubt in Kernel Timers
Date: Tue, 27 Nov 2001 08:36:02 +0300	[thread overview]
Message-ID: <20011127083602.0d19d985.johnpol@2ka.mipt.ru> (raw)
In-Reply-To: <20011126125517.27715.qmail@web14504.mail.yahoo.com>
In-Reply-To: <20011126125517.27715.qmail@web14504.mail.yahoo.com>

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

  parent reply	other threads:[~2001-11-27  5:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-26 12:55 sekhar raja
2001-11-26 17:58 ` george anzinger
2001-11-27  5:36 ` Evgeniy Polyakov [this message]
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=20011127083602.0d19d985.johnpol@2ka.mipt.ru \
    --to=johnpol@2ka.mipt.ru \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®