LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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: 312Reputation: 312Reputation: 312Reputation: 312
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration