From: "Zhenyu Wu" <y030729@njupt.edu.cn>
To: quade@hsnr.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: about kernel_thread!
Date: Mon, 13 Dec 2004 21:52:18 +0800 [thread overview]
Message-ID: <302945938.22534@njupt.edu.cn> (raw)
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
2.4.20?
Thanks,
Zhenyu Wu
>From: Juergen Quade <quade@hsnr.de>
>Reply-To:
>To: Zhenyu Wu <y030729@njupt.edu.cn>
>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
I
> > remove the module there are errors. I think it is because of the thread I
have
> > created that have not been killed. So, how can I kill this thread when I
remove
> > the module?
>
> You can find sample-code here:
> http://ezs.kr.hsnr.de/TreiberBuch/Download/TreiberEntwickeln2004261/6-9-kthread.c
>
> Juergen.
> -
> 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/
>
next reply other threads:[~2004-12-13 13:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-13 13:52 Zhenyu Wu [this message]
2004-12-13 13:25 ` about kernel_thread! linux-os
-- strict thread matches above, loose matches on Subject: below --
2004-12-13 13:36 Zhenyu Wu
2004-12-13 13:12 Zhenyu Wu
2004-12-13 12:31 ` linux-os
2004-12-13 12:44 ` Juergen Quade
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=302945938.22534@njupt.edu.cn \
--to=y030729@njupt.edu.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=quade@hsnr.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.