Hi John,
     
> Ok, please point me to the book or white paper or 
> something that explains how to write a kernel thread.  
> It's probably as simple as calling a function pointing to 
> a function, but I don't know how to do it.
     
     Take a look at the kernel code in init/main.c.
     Search for "kernel_thread" to see how the kernel threads are made.
     The thread functions are scattered round the source tree. The init 
     thread is in the same file. Grep around for the others.
     The flags are defined in include/linux/sched.h
     
     
     Robin.

Reply via email to