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.
- app linked to kernel? Eric Seppanen
- RE: app linked to kernel? John Lombardo
- RE: app linked to kernel? Vidar Hokstad
- RE: app linked to kernel? John Lombardo
- RE: app linked to kernel? Vidar Hokstad
- Re: Re[2]: app linked to kernel? RTHEANDE
- Re: Re[2]: app linked to kernel? David E. Hayman
- Re: Re[2]: app linked to kernel? Patrick Maheral
- Re: Re[2]: app linked to kernel? David E. Hayman
- Embedded Linux on PC-104 with DiskOnChip Warren Postma
- Re: Embedded Linux on PC-104 with DiskOnC... Ralph Stickley
- Re: Embedded Linux on PC-104 with DiskOnC... Herb Montes
- Re: Embedded Linux on PC-104 with DiskOnC... Warren Postma
- Re: Embedded Linux on PC-104 with Di... Vidar Hokstad
- Re: Embedded Linux on PC-104 wit... Eric Seppanen
- Re: Embedded Linux on PC-104 wit... Jeremy Impson