lkml.org 
[lkml]   [2002]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to avoid zombie kernel threads?
On Wed, Jan 30, 2002 at 06:06:50AM +0200, Jarno Paananen wrote:

> http://hardsid.sourceforge.net/ is someone is actually interested)
> 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.

read frey's guide and look at some real code to see how to do this.

Think you are missing a reparent_to_init(). I don't know if bleeding
2.5 includes this in daemonize() yet.

You should really have asked this on kernelnewbies mailing list btw

http://www.kernelnewbies.org/

regards
john

--
"In no sense is [in]stability a reason to move to a new version. It's never a
reason."
- Bill Gates
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.056 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site