lkml.org 
[lkml]   [1999]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectkernel_thread's become zombies
Greetings,

I'm writing a module which starts a kernel thread at insmod time. I have
run into two problems. The first is that my thread is a child of insmod
unless I start it from outside process context. Currently I work around
that by launching it from a kernel timer which expires momentarily after
insmod. The other problem is that when my thread functions exits, it
becomes a zombie. Is there a way for me to cleanly remove the thread at
rmmod time when it is finished doing it's work?

thanks,
-bp
--
B. James Phillippe . bryan@terran.org
Software Engineer, WGT Inc. . http://www.terran.org/~bryan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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