KeStallExecutionProcessor

VOID
KeStallExecutionProcessor(

IN ULONG MicroSeconds
);

KeStallExecutionProcessor stalls the caller on the current processor for the given interval.

Parameters

MicroSeconds

Specifies the number of microseconds to stall.

Comments

KeStallExecutionProcessor is a processor-dependent routine that busy-waits for at least the specified number of microseconds, but not significantly longer.

This routine is for use by device drivers and other software that must wait for an interval of less than a clock tick but more than for a few instructions. Drivers that call this routine should minimize the number of microseconds they specify (no more than 50). If a driver must wait for a longer interval, it should use another synchronization mechanism.

Callers of KeStallExecutionProcessor can be running at any IRQL.

See Also

KeDelayExecutionThread, KeWaitForMultipleObjects, KeWaitForSingleObject