LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   disable interrupts (https://www.linuxquestions.org/questions/linux-software-2/disable-interrupts-881152/)

mas123 05-17-2011 04:18 AM

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

H_TeXMeX_H 05-18-2011 04:34 AM

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.

mas123 05-19-2011 02:14 AM

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.


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