有些程序在把它们自己当作输入运行时,可能永远不会停下来,既然这样——那么让我们用DOES-HALT编写一端伪代码,用它来测试当一个程序把它自己作为输入参数时会发生什么好了。
Some programs might never halt when run on themselves, though -- so let's use DOES-HALT to write pseudo-code for a program that checks to see what happens when a program is given itself as input.
一般而言,任何时刻前台进程都是为数不多的,只有作为最后的策略——当内存不足以维持它们同时运行时——才会被终止。
Generally, only a few foreground processes exist at any given time. They are killed only as a last resort-if memory is so low that they cannot all continue to run.
当处理器以较低的时钟速度运行时,它们消耗的电能和产生的热量也相对较少。
When processors operate at a lower clock speed, they consume proportionately less power and generate less heat.
应用推荐