c***@CSIC.UMD.EDU
2005-10-11 13:41:08 UTC
Reaper Thread start with being at Level 0.
If i spawn null.exe it starts to execute because it is also at
level 0 but then it is demoted once its quantum expires.
Now the only thread that is running in level 0 is the reaper,
because it calls yield on itself before the quantum expires it
remains on level 0. So everything get_next_runnable is called it
will find the repear thread and null will never get the quantum.
Please let me know what am i doing wrong ?
If i spawn null.exe it starts to execute because it is also at
level 0 but then it is demoted once its quantum expires.
Now the only thread that is running in level 0 is the reaper,
because it calls yield on itself before the quantum expires it
remains on level 0. So everything get_next_runnable is called it
will find the repear thread and null will never get the quantum.
Please let me know what am i doing wrong ?