Skip to content

SdlDelay

Wait a specified number of milliseconds before returning.

This function waits a specified number of milliseconds before returning. It waits at least the specified time, but possibly longer due to OS scheduling.

Definition

Unit: Neslib.Sdl3.Time

procedure SdlDelay(const AMilliSeconds: Integer); inline

Parameters

AMilliSeconds: Integer : The number of milliseconds to delay.

See Also

Remarks

It is safe to call this function from any thread.