Interrupt handler
hi,
I have a general question.
If a process is executing a system call, and an interrupt is invoked, the process blocks. Now since interrupt handlers cannot block, the time for which the IH runs is taken out of the process's time-slice ( Is this right ?).
What if the IH takes up all of the process's time-slice, does the process gets knocked off the current list and thrown into the expired list or is there something more to it?
thanks for your time
Quoted 8 lines · MNH
If a process is executing a system call, and an interrupt is invoked, the process blocks. Now since interrupt handlers cannot block, the time for which the IH runs is taken out of the process's time-slice ( Is this right ?).
What if the IH takes up all of the process's time-slice, does the process gets knocked off the current list and thrown into the expired list or is there something more to it?
This is the kind of thing LTT will allow you to see:
http://www.opersys.com/LTT/
Karim
Signature · 3 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546