|
SDL
2.0
|
Include dependency graph for SDL_timer_c.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | ROUND_RESOLUTION(X) (((X+TIMER_RESOLUTION-1)/TIMER_RESOLUTION)*TIMER_RESOLUTION) |
Functions | |
| void | SDL_TicksInit (void) |
| void | SDL_TicksQuit (void) |
| int | SDL_TimerInit (void) |
| void | SDL_TimerQuit (void) |
Definition at line 26 of file SDL_timer_c.h.
| int SDL_TimerInit | ( | void | ) |
Definition at line 206 of file SDL_timer.c.
References SDL_TimerData::active, SDL_TimerData::nextID, SDL_AtomicGet, SDL_AtomicSet, SDL_CreateMutex, SDL_CreateSemaphore, SDL_CreateThreadInternal(), SDL_DestroyMutex, SDL_timer_data, SDL_TimerQuit(), SDL_TimerThread(), SDL_TimerData::sem, SDL_TimerData::thread, and SDL_TimerData::timermap_lock.
Referenced by SDL_AddTimer().
Definition at line 238 of file SDL_timer.c.
References SDL_TimerData::active, SDL_TimerData::freelist, SDL_Timer::next, SDL_TimerMap::next, NULL, SDL_AtomicCAS, SDL_DestroyMutex, SDL_DestroySemaphore, SDL_free(), SDL_SemPost, SDL_timer_data, SDL_WaitThread, SDL_TimerData::sem, SDL_TimerData::thread, SDL_TimerData::timermap, SDL_TimerData::timermap_lock, and SDL_TimerData::timers.
Referenced by SDL_TimerInit().