skip to main
|
skip to sidebar
OS II
2009年4月18日 星期六
04/15
OS_Sched() and OSIntExit():
OS_Sched(): 掌管 task 間的 scheduling
OSIntExit(): 掌管 ISR 的 scheduling
下段程式碼, 若剛好進入contextswitch()怎麼辦(如何EI)?
ans:
OS_Sched(){
...
DI;
...
if(){
contextswitch();
}
...
EI;
...
}
A經context switch 到B後, 由B process做EI;
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
追蹤者
網誌存檔
▼
2009
(11)
►
6月
(3)
▼
4月
(3)
04/15
04/13
04/08
►
3月
(4)
►
2月
(1)
關於我自己
shiyating
檢視我的完整簡介
沒有留言:
張貼留言