Re: 2.6 Kernel Threads

From: Lars Roland
Date: Mon May 16 2005 - 08:50:57 EST


On 5/16/05, linux <kernel@xxxxxxxxxxxx> 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
-
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/