zenilib
0.5.3.0
|
Go to the source code of this file.
Macros | |
#define | ROUND_RESOLUTION(X) (((X+TIMER_RESOLUTION-1)/TIMER_RESOLUTION)*TIMER_RESOLUTION) |
Functions | |
void | SDL_InitTicks (void) |
int | SDL_TimerInit (void) |
void | SDL_TimerQuit (void) |
#define ROUND_RESOLUTION | ( | X | ) | (((X+TIMER_RESOLUTION-1)/TIMER_RESOLUTION)*TIMER_RESOLUTION) |
Definition at line 26 of file SDL_timer_c.h.
Definition at line 34 of file SDL_systimer.c.
References NULL, SDL_TRUE, and ticks_started.
Definition at line 206 of file SDL_timer.c.
References NULL, SDL_AtomicSet(), SDL_CreateMutex(), SDL_CreateSemaphore(), SDL_CreateThread(), SDL_DestroyMutex(), SDL_timer_data, SDL_TimerQuit(), SDL_TimerThread(), and SDL_TRUE.
Definition at line 242 of file SDL_timer.c.
References NULL, SDL_DestroyMutex(), SDL_DestroySemaphore(), SDL_FALSE, SDL_free(), SDL_SemPost(), SDL_timer_data, and SDL_WaitThread().