Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

SDL_DelayNS - Wait a specified number of nanoseconds before returning.

Availability

       This function is available since SDL 3.2.0.

Description

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

Function Parameters

ns     the number of nanoseconds to delay.

Name

       SDL_DelayNS - Wait a specified number of nanoseconds before returning.

See Also

SDL_Delay(3), SDL_DelayPrecise(3)

Simple Directmedia Layer                           SDL 3.2.20                                     SDL_DelayNS(3)

Synopsis

#include<SDL3/SDL_timer.h>voidSDL_DelayNS(Uint64ns);

Thread Safety

       It is safe to call this function from any thread.

return

See Also