Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
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.


  Search this Thread
Old 01-05-2011, 08:22 AM   #1
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 task is to update the data frm gpio pin and back end i have read the data of one register.
Old 01-05-2011, 08:29 PM   #2
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, 05:46 AM   #3
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....


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

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