public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel Chaput <Emmanuel.Chaput@enseeiht.fr>
To: linux-kernel@vger.kernel.org
Subject: timer question
Date: Tue, 05 Mar 2002 14:57:38 +0100	[thread overview]
Message-ID: <3C84CED2.2000603@enseeiht.fr> (raw)

   Hi !

   I have a problem with the first part of run_timer_list() :

   if (!tv1.index) {
         int n = 1;
          do {
                 cascade_timers(tvecs[n]);
          } while (tvecs[n]->index == 1 && ++n < NOOF_TVECS);
    }

   My problem is that tv*.index is initialized to 0, so the first call to
run_timer_list() will result in a (useless) call to cascade_timers() for
tvecs[1..NOOF_TVECS - 1].

   Am I wrong ? Thanks to anyone who could help me  !

-- 
Emmanuel Chaput                         Dépt Télécom & Réseau, ENSEEIHT
*5 61 58 82 10 (Fax *5 61 58 80 14)         Emmanuel.Chaput@enseeiht.fr



             reply	other threads:[~2002-03-05 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-05 13:57 Emmanuel Chaput [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-03-31 21:11 timer question Chuck Lever
2004-03-31 21:31 ` Richard B. Johnson
2004-04-01  6:10   ` Chris Friesen

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=3C84CED2.2000603@enseeiht.fr \
    --to=emmanuel.chaput@enseeiht.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox