• Sam Lantinga's avatar
    Improved timer implementation · dd4f2c13
    Sam Lantinga authored
    The new timer model is formalized as using a separate thread to handle timer callbacks.  This was the case on almost every platform before, but it's now a requirement, and simplifies the implementation and makes it perform consistently across platforms.
    
    Goals:
     * Minimize timer thread blocking
     * Dispatch timers as accurately as possible
     * SDL_AddTimer() and SDL_RemoveTimer() are completely threadsafe
     * SDL_RemoveTimer() doesn't crash with a timer that's expired or removed
    dd4f2c13
Name
Last commit
Last update
..
SDL_clipboardevents.c Loading commit data...
SDL_clipboardevents_c.h Loading commit data...
SDL_events.c Loading commit data...
SDL_events_c.h Loading commit data...
SDL_gesture.c Loading commit data...
SDL_gesture_c.h Loading commit data...
SDL_keyboard.c Loading commit data...
SDL_keyboard_c.h Loading commit data...
SDL_mouse.c Loading commit data...
SDL_mouse_c.h Loading commit data...
SDL_quit.c Loading commit data...
SDL_sysevents.h Loading commit data...
SDL_touch.c Loading commit data...
SDL_touch_c.h Loading commit data...
SDL_windowevents.c Loading commit data...
SDL_windowevents_c.h Loading commit data...
blank_cursor.h Loading commit data...
default_cursor.h Loading commit data...
scancodes_darwin.h Loading commit data...
scancodes_linux.h Loading commit data...
scancodes_windows.h Loading commit data...
scancodes_xfree86.h Loading commit data...