__halt

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at __halt.

Microsoft Specific**

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

Syntax

void __halt( void );  

Requirements

Intrinsic Architecture
__halt x86, x64

Header file <intrin.h>

Remarks

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.

END Microsoft Specific

See Also

Compiler Intrinsics