On Tue, Jul 8, 2008 at 1:55 AM, Paolo Doz <[EMAIL PROTECTED]> wrote: > Hi folks, > I'm developing a custom SPI driver (char device) on a MPC5200b, the > microcontroller linked as slave implements a protocol that must follow > strict timing constraints. I need to receive and send messages every 6msec. > Actually there is a user space program that synchronizes the two units, but > I would prefer to eliminate it and move the relative code into the kernel > space. Is it possible to have a non returning function, with a sort of > while(1) inside? > > Thanks for the help
You can use a kernel thread. I'm not sure how accurate this is, but here is some information about them: http://www.linuxquestions.org/linux/articles/Technical/Linux_Kernel_Thread _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev