Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-27-2007, 11:03 AM   #1
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, 01:42 PM   #2
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
Old 02-27-2007, 05:11 PM   #3
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


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 07:09 AM
Poor device support after kernel recompile - possible problem with modules? Dag Linux - General 1 08-04-2004 04:42 PM
simple hello.c device driver for 2.6 kernel blavo Programming 29 06-30-2004 06:42 AM
Slack+kernel2.6.4 modules don't load ? how to start integrated kernel driver? elfenoir Slackware - Installation 1 03-23-2004 04:07 AM
kernel/modules driver problem Zarnce Slackware 4 05-05-2003 01:33 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:15 PM.

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