LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 01-05-2011, 07:22 AM   #1
raulapati
Member
 
Registered: May 2010
Posts: 51

Rep: Reputation: 0
how to perform two tasks at a time in kernel...


iam doing a project on at91sam9261 using linux-2.6-28 version.
i have to do two tasks at a time in kernel .how can i perform it.one task is to update the data frm gpio pin and back end i have read the data of one register.
 
Old 01-05-2011, 07:29 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
You can't. They have to take turns.
 
Old 01-18-2011, 04:46 AM   #3
raulapati
Member
 
Registered: May 2010
Posts: 51

Original Poster
Rep: Reputation: 0
actually my prblem is:

i have to count the number of pulse generateed at interrupt pin and at the same time i have to read the data from aread register via spi protocol ata time...iam not bothered about the instantaoeus read of pulsecount when i press any key then i should get the counts..but at the back end i should read the register continusly....
 
  


Reply


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
[SOLVED] How to perform root level tasks while in GUI? jlavik Linux - Newbie 8 10-06-2010 10:39 AM
How to perform command in time interval? your_shadow03 Linux - Newbie 2 06-16-2009 01:11 AM
Tasks to perform when host is connected to internet. venkat_k Red Hat 1 01-30-2009 03:52 AM
Starting tasks at boot time. garyg007 Slackware 11 10-21-2008 10:22 PM
Scheduler for Real Time Tasks Scheduler Linux - General 2 04-14-2006 09:02 PM


All times are GMT -5. The time now is 02:35 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