Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated


Microsoft Specific

This topic is new for Visual Studio 2005 SP1.

Halts the microprocessor until an enabled interrupt, a nonmaskable interrupt (NMI), or a reset occurs.

void __halt( void );




x86, x64

Header file <intrin.h>

The __halt function is equivalent to the HLT machine instruction, and is available only in kernel mode. For more information, search for the document, "Intel Architecture Software Developer's Manual, Volume 2: Instruction Set Reference," at the Intel Corporation site.

© 2016 Microsoft