LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-17-2011, 04:18 AM   #1
mas123
LQ Newbie
 
Registered: Mar 2009
Posts: 14

Rep: Reputation: 0
disable interrupts


Hi all,

I have a single board computer operating on linux. I want to disable all/some interrupts. How can I do this?


thanks
 
Old 05-18-2011, 04:34 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Why do you want to ? Is it causing problems ? Can you elaborate ?

You cannot really disable all interrupts and expect the machine to work normally. I don't think it is even possible.
 
Old 05-19-2011, 02:14 AM   #3
mas123
LQ Newbie
 
Registered: Mar 2009
Posts: 14

Original Poster
Rep: Reputation: 0
I am using my single board computer in a similar way as one will use a microcontroller. I log in and then run a c code, thats all. The problem is that my c code does not have a fixed execution time. Since my code doesnt use interrupts, I wanted to try to disable interrupts to eliminate this variation in time.
 
  


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
Can anyone please explain about "Function call interrupts" entry in /proc/interrupts? cyclops.xmen Linux - Software 2 12-09-2009 12:13 PM
Interrupts mrchsreddy Linux - Newbie 2 11-18-2008 06:27 PM
Need to disable timer or all interrupts from user space G35Coupe Linux - General 0 11-16-2004 12:31 AM
about interrupts eshwar_ind Programming 1 02-25-2004 12:38 AM
Interrupts rhcohen Programming 0 01-22-2001 02:30 PM


All times are GMT -5. The time now is 10:26 AM.

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