hi all,
I read in Newcomer’s book that whenever a quantum of anythread
expires a DISPATCH_LEVEL software interrupt is generated (using x86’s int
instruction).
My Questions are:
1> Say if the thread is running in user mode and it’s quantum expires will
it still call “int” from “user mode”.
2> Don’t we have to be in kernal mode to generate a software interrupt ???
If we have to be in kenal to use software INT instrustion then how does this
switch takes place??
Anyother details are highly appriciated.
Thanks
ajitabh