Re: kernel_thread vs zombie's

B. James Phillippe (bryan@terran.org)
Fri, 21 May 1999 10:46:42 -0700 (PDT)


On Thu, 20 May 1999, Arjan van de Ven wrote:

> Hi,
>
> When I create a thread (in a kernel-module) with
> kernel_thread(FUNC,NULL,0), it remains a zombie when the function FUNC
> returns. (Kernel version 2.2.6)

Hi. I had the same problem when trying to create a thread while
in_interrupt(). This is not a safe operation. Make sure you are calling
kernel_thread() during process-context.

-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/