From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Jarno Paananen <jpaana@s2.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to avoid zombie kernel threads?
Date: Wed, 30 Jan 2002 07:34:06 +0300 [thread overview]
Message-ID: <20020130073406.20838f36.johnpol@2ka.mipt.ru> (raw)
In-Reply-To: <m3hep4qy79.fsf@kalahari.s2.org>
In-Reply-To: <m3hep4qy79.fsf@kalahari.s2.org>
On 30 Jan 2002 06:06:50 +0200
Jarno Paananen <jpaana@s2.org> wrote:
> Hi,
Good time of day.
> that uses a kernel thread to do the actual work asynchronously from
> rest of the world. The thread is created when opening a character
> device and exits when the device is closed.
Maybe you should use do_exit() at the end or complete_and_exit()?
> [daemonize() etc.]
...
do_exit(0); // At least usb hub do it in such manner.
> return 0;
> Thanks,
I hope this will help you.
> // Jarno
> -
Evgeniy Polyakov ( s0mbre ).
prev parent reply other threads:[~2002-01-30 4:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-30 4:06 Jarno Paananen
2002-01-30 4:34 ` John Levon
2002-01-30 4:34 ` Evgeniy Polyakov [this message]
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=20020130073406.20838f36.johnpol@2ka.mipt.ru \
--to=johnpol@2ka.mipt.ru \
--cc=jpaana@s2.org \
--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
all inboxes | Powered by JetHome®