Hacker News new | ask | show | jobs
by vnorilo 1687 days ago
From [1]

On processors that have a halt instruction that stops the CPU until an interrupt occurs, such as x86's HLT instruction, it may save significant amounts of power and heat if the idle task consists of a loop which repeatedly executes HLT instructions.

--

I don't know how it is implemented in darwin, HLT is a privileged instruction, then again it's kernel_task.

1: https://en.m.wikipedia.org/wiki/Idle_(CPU)