Hi all,

I have an interrupt which is caused every 10 ms and it is served by an ISR. I am also executing a user-space process inside a while(1) loop.

The problem is that the user-space process is affecting the ISR execution. Is this reasonable? How can I assure that when my ISR is executed no other processes are running?

The thing that I want looks like the following graph:

-------------------------------------------------------
ISR | Processes | ISR | Processes |
--------------------------------------------------------(ms)
0___________10_____________20

and not something like:
-------------------------------------------------------
ISR |_________| ISR |_________|
--------------------------------------------------------
__________Processes_________|
--------------------------------------------------------(ms)
0___________10____________20


Thank you in advance!