From: Duncan Sands <duncan.sands@math.u-psud.fr>
To: linux-kernel@vger.kernel.org
Subject: tasklets and finalization
Date: Sun, 11 Nov 2001 15:34:46 +0100 [thread overview]
Message-ID: <E162vh8-0000E9-00@baldrick> (raw)
Hi! In the driver I'm working on, a tasklet is scheduled
from time to time. Are there any guarantees as to when
it will run? I'm worried, for example, about module
unloading: how to be sure that the scheduled tasklet runs
before the module is unloaded?
Thanks,
Duncan.
PS: My first thought was to use tasklet_kill, but according
to "Linux device drivers" (2nd ed) that may hang if the
tasklet isn't pending.
PPS: Another thought was to call schedule(), hoping that
all pending asklets will get run then, but is that reliable?
next reply other threads:[~2001-11-11 14:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-11 14:34 Duncan Sands [this message]
[not found] <XFMail.20011112085704.mathijs@knoware.nl>
2001-11-12 8:21 ` tasklets and finalization Duncan Sands
2001-11-12 8:35 ` Mathijs Mohlmann
2001-11-12 8:41 ` Duncan Sands
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=E162vh8-0000E9-00@baldrick \
--to=duncan.sands@math.u-psud.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