Skip to contentSkip to conversation

Interrupt handler

DISCUSSION MNH 2 participants 2 messages Apr 15, 2004 – Apr 17, 2004

lore
Share & tools
lore

MNH

author
#0 lore raw

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

#1 lore raw
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