System.Classes.TThread.SpinWait
API:System.Classes.TThread.SpinWait
Description
Blocks the execution of the thread in a spin-wait loop.
Use SpinWait to generate short time delays without an immediate thread switch.
The input parameter (Iterations) specifies the number of spin loops.