Messages in this thread | | | Date | Mon, 16 May 2005 15:45:38 +0200 | From | Lars Roland <> | Subject | Re: 2.6 Kernel Threads |
| |
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 - 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/
| |