mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lars Roland <lroland@gmail.com>
To: linux <kernel@wired-net.gr>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: 2.6 Kernel Threads
Date: Mon, 16 May 2005 15:45:38 +0200	[thread overview]
Message-ID: <4ad99e0505051606451ce33b0f@mail.gmail.com> (raw)
In-Reply-To: <002f01c55a1a$7c2cfda0$0101010a@dioxide>

On 5/16/05, linux <kernel@wired-net.gr> wrote:
> Hi all,
> can u tell how i can start/stop a kernel thread in 2.6.x series kernel???

Kernel threads are used to perform crusal operations in the backgorund
and runs solely in kernel-space so I am not fully aware of why you
would want to start and stop them ?.

Anyway you can spawn a new kernel thread using 

int kernel_thread(int (*fn)(void *), void * arg, unisgned long flags).



Regards.

Lars Roland

  parent reply	other threads:[~2005-05-16 13:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16 13:23 linux
2005-05-16 13:40 ` Sean Neakums
2005-05-16 13:45 ` Lars Roland [this message]
2005-05-16 13:58 ` Richard B. Johnson

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=4ad99e0505051606451ce33b0f@mail.gmail.com \
    --to=lroland@gmail.com \
    --cc=kernel@wired-net.gr \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®