KeStallExecutionProcessor function (ntifs.h)
The KeStallExecutionProcessor routine stalls the caller on the current processor for a specified time interval.
NTHALAPI VOID KeStallExecutionProcessor( [in] ULONG MicroSeconds );
Specifies the number of microseconds to stall.
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. If you use this routine you must minimize the stall interval, typically to less than 50 microseconds. If a driver must wait for a longer interval, you should use a different synchronization technique.
|Minimum supported client||Available starting with Windows 2000.|
|Header||ntifs.h (include Wdm.h, Ntddk.h, Ntifs.h)|
Submit and view feedback for