Generates the mwait instruction.
- [in] a
The first operand.
- [in] b
The second operand.
The mwait instruction instructs the processor to enter a wait state in which the processor is instructed to monitor a certain address range waiting for an event or a store to that address range. The values of a and b are loaded into the ECX and EAX registers. For more information, see the Intel documentation.
This routine is only available as an intrinsic.