|
|
发表于 2005-10-21 19:01:54
|
显示全部楼层
Post by denver
最近看系统调用的书,
其中“进程0”的含义不是很懂。我知道0是系统保留的id
它是不是用户当前正在调用的进程?
书上说它实际是一个交换进程又是什么意思呢?
0 号进程是一个 idle 进程,当没有进程运行时,该进程被调度运行.
apue 中提到:ID 0 is usually the scheduler process and is often known as the swapper. No program on disk corresponds to this process, which is part of the kernel and is known as a system process.
至于为什么叫交换进程,不是很清楚. |
|