lkml.org 
[lkml]   [2005]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-05-16 15:52    [W:0.035 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site