System.Classes.TThread.SpinWait

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also