LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-27-2007, 10:03 AM   #1
kilambi
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
Question 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. kilambi
 
Old 02-27-2007, 12:42 PM   #2
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
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
 
Old 02-27-2007, 04:11 PM   #3
kilambi
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
  


Reply

Tags
kernel, linux, module, threads


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to load ur driver as a kernel modules when the system startsup sumanth.sindiri Linux - General 1 12-05-2006 06:09 AM
Poor device support after kernel recompile - possible problem with modules? Dag Linux - General 1 08-04-2004 03:42 PM
simple hello.c device driver for 2.6 kernel blavo Programming 29 06-30-2004 05:42 AM
Slack+kernel2.6.4 modules don't load ? how to start integrated kernel driver? elfenoir Slackware - Installation 1 03-23-2004 03:07 AM
kernel/modules driver problem Zarnce Slackware 4 05-05-2003 12:33 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration