0
Hey what is the meaning of interrupt handling and os function calls
3 odpowiedzi
+ 1
when high priority process is came for execution in processor or CPU and at that time the lower task is executing in its critical section then the higher priority task occurance is known as interrupt
so interrupt are some higher priority task or process so it should be handled first so to handled that OS first save the low priority executing process which is known as context save and then switch to execute higher priority interrupt this is known as context switching now the interrupt are higher priority task that's why it's handle first
ex:- in rocket launcher system everything should be accurate and precise 1% error can't be affordable because the priority of handling every task is high so it served first
interrupt handling is done by os by scheduling algorithm like Round Robin, FCFS, shortest job first ect by this the os schedule the task and they are handled
+ 1
welcome you need to go through the scheduling algorithm for handling the interrupt in embedded system interrupt are generally handled by 2 ways polling machenasim in which there is an loop is made for checking interrupt at each port and the 2 way is by rtos real time operating system which schedule that interrupt according to their priorities
0
thanks bro