Function hal_x86_64::cpu::intrinsics::hlt

source ·
pub unsafe fn hlt()
Expand description

Perform one x86 hlt instruction.

Safety

Intrinsics are inherently unsafe — this is just a less ugly way of writing inline assembly.

Also…this halts the CPU.