Finally, the idle task is started and the scheduler can now take control (after the call to cpu_idle).
最后,启动空任务,现在调度器就可以接管控制权了(在调用 cpu_idle 之后)。
On modern processors, where a HLT (halt) instruction saves significant amounts of power and heat, the idle task almost always consists of a loop which repeatedly executes HLTinstructions.
在现代的处理器中,HLT停机指令节省了大量的电能与执量,空闲任务几乎总是由一个重复执行HLT停机指令的循环组成。
Likewise, finalizers are normally processed as a background task, so their cost is usually amortized across the system's idle time.
同样,终结通常是后台任务,所以它们常常在系统的空闲时间执行。
应用推荐