1.

What happens to the interrupts in an interrupt service routine?(a) disable interrupt(b) enable interrupts(c) remains unchanged(d) ready stateThe question was posed to me by my college professor while I was bunking the class.This question is from Priority Inversion in portion Real Time Operating systems of Embedded Systems

Answer»

The CORRECT option is (a) DISABLE interrupt

The best explanation: In the interrupt service routine, all the other interrupts are DISABLED till the routine completes which can cause a problem if ANOTHER interrupt is received and HELD pending. This can result in priority inversion.



Discussion

No Comment Found

Related InterviewSolutions