SDL_Delay
Wait a specified number of milliseconds before returning.
- Provided by: libsdl1.2-dev (Version: 1.2.15+dfsg2-5)
- Source: libsdl1.2
- Report a bug
Wait a specified number of milliseconds before returning.
#include "SDL.h"
void SDL_Delay(Uint32 ms);
Wait a specified number of milliseconds before returning. SDL_Delay will wait at least the specified time, but possible longer due to OS scheduling.
Count on a delay granularity of at least 10 ms. Some platforms have shorter clock ticks but this is the most common.
SDL_AddTimer