Re: about kernel_thread!
From: Zhenyu Wu
Date: Mon Dec 13 2004 - 08:03:30 EST
Oh, my god. I find another problem, my linux kernel is 2.4.20, and i can't find
the function allow_signal at all. BTW, whether there is such funcion in kernel
>From: Juergen Quade <quade@xxxxxxx>
>To: Zhenyu Wu <y030729@xxxxxxxxxxxx>
>Subject: Re: about kernel_thread!
>Date:Mon, 13 Dec 2004 13:44:26 +0100
>On Mon, Dec 13, 2004 at 09:12:39PM +0800, Zhenyu Wu wrote:
> > Hello,
> > I have some confusions on kernel_thread, so I want to get help.
> > I want to create a thread in a loadable module, then I used the function
> > kernel_thread() in init_module(). Of course, the thread was created, but when
> > remove the module there are errors. I think it is because of the thread I
> > created that have not been killed. So, how can I kill this thread when I
> > the module?
> You can find sample-code here:
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/