LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   threads in device driver or kernel modules (https://www.linuxquestions.org/questions/linux-software-2/threads-in-device-driver-or-kernel-modules-532938/)

kilambi 02-27-2007 10:03 AM

threads in device driver or kernel modules
 
I am writing a linux kernel module for the collection of radar data using an Echotek (ECDR-GC314-PCI) card. I want to use threads in this module but I cannot use pthread in a kernel module. From my google searches I gathered that kernel_thread is the routine to use. Where could I get the documentation regarding these routines? I am using Linux kernel 2.6.9-5. Essentially I would like to find out about thread creation and management in linux kernel modules. :confused: kilambi

studioj 02-27-2007 12:42 PM

it might help to play with parts of this example even though it is written for 2.4 kernels
http://www.scs.ch/~frey/linux/kernelthreads.html

kilambi 02-27-2007 04:11 PM

Thanks studioj. I already checked the website you suggested. Queue structures have all changed in 2.6 kernel eventhough it does give me some idea. kilambi


All times are GMT -5. The time now is 05:11 PM.