README-SDL.txt
author Sam Lantinga <slouken@libsdl.org>
Thu, 27 Jan 2011 14:45:06 -0800
changeset 5111 481dabb098ef
parent 0 74212992fb08
child 5537 8a66741be632
permissions -rw-r--r--
Improved timer implementation

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
slouken@0
     1
slouken@0
     2
Please distribute this file with the SDL runtime environment:
slouken@0
     3
slouken@0
     4
The Simple DirectMedia Layer (SDL for short) is a cross-platfrom library
slouken@0
     5
designed to make it easy to write multi-media software, such as games and
slouken@0
     6
emulators.
slouken@0
     7
slouken@0
     8
The Simple DirectMedia Layer library source code is available from:
slouken@0
     9
http://www.libsdl.org/
slouken@0
    10
slouken@0
    11
This library is distributed under the terms of the GNU LGPL license:
slouken@0
    12
http://www.gnu.org/copyleft/lesser.html
slouken@0
    13