logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_Delay - Wait a specified number of milliseconds before returning.

Availability

       This function is available since SDL 3.2.0.

Description

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

Function Parameters

ms     the number of milliseconds to delay.

Name

       SDL_Delay - Wait a specified number of milliseconds before returning.

See Also

SDL_DelayNS(3), SDL_DelayPrecise(3)

Simple Directmedia Layer                           SDL 3.2.20                                       SDL_Delay(3)

Synopsis

#include<SDL3/SDL_timer.h>voidSDL_Delay(Uint32ms);

Thread Safety

       It is safe to call this function from any thread.

See Also