LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-27-2012, 02:30 AM   #1
elico
Member
 
Registered: Dec 2011
Posts: 145

Rep: Reputation: Disabled
Interrupts handling while threads or fork(0 is running


Hi all

what happens when an interrupt request appears while
a thread or FORK(0) is executed ?

Thanks
Elico
 
Old 09-27-2012, 03:31 AM   #2
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 81
I don't think that you explained yourself.
The answer to your question as I get it is: context get saved, interrupt is served, context get back. Why it should behave in a different way ?
 
Old 09-27-2012, 04:42 AM   #3
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
"context get saved" what does it mean ?

Elico
 
Old 09-27-2012, 05:13 AM   #4
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
I did twice
Can not see the rellevance to my question ...

Elico
 
Old 09-27-2012, 10:54 AM   #5
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 81
Then can you explain what you mean with interrupt ?
 
Old 09-27-2012, 01:43 PM   #6
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
"context get saved" what does it mean ?

Elico
 
  


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
Mouse event handling and interrupts in linux. skyte Programming 1 03-02-2010 02:45 PM
Userspace handling of driver interrupts AustinMarton Linux - Kernel 12 01-14-2009 08:48 PM
Handling hardware interrupts zvivered Linux - Embedded & Single-board computer 2 12-11-2008 11:34 AM
interrupt handling - fork - exec help!! James Scrymgeour Programming 0 06-15-2006 10:34 AM
Handling of Interrupts in thread context asurya Linux - Newbie 1 04-05-2006 09:15 AM

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

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