Advanced Embedded Systems Question:
Download Job Interview Questions and Answers PDF
Do you know how does the interrupts handle by using the threads?
Answer:
The interrupts that comes in between the input/output operations gets detected when the input/output devices are ready. The interrupt never gets handled directly rather, it sends the interrupt signal to the thread to the input/output device that is ready to allow the thread to take necessary actions. The thread uses the signaling concept that allows the initialization to be done using the semaphore that keeps the states updated and handle the interrupt in an easy way. The input/output device getting the request and it also passes the semaphore to handle. The input/output device takes the semaphore that is ready. The thread is having the minimum latency that uses the first level interrupt handler to handle the interrupts completely. It allows the priority of the thread to be set and it doesn’t allow the context to be change as well.
Download Advanced Embedded Systems Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain me what is the function of Watchdog timer in embedded system? | Please explain what is the difference between Hardware design and Software Design? |