example of kernel thread

From: Ottavio Campana
Date: Fri Feb 10 2006 - 10:55:58 EST


I'm writing a little driver and I need to run a thread to poll data.

I've googled a bit to find an example, but I only found this
http://www.scs.ch/~frey/linux/kernelthreads.html
but it is for 2.4, while I need it for 2.6

Do you know any example and/or tutorial for kernel threads?

Thank you.

PS: can you please CC me because I didn't subscribe the list?

--
Non c'è più forza nella normalità, c'è solo monotonia.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/