Mercurial > sdl-ios-xcode
view test/COPYING @ 5113:481dabb098ef
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
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 27 Jan 2011 14:45:06 -0800 |
parents | e8157fcb3114 |
children |
line wrap: on
line source
The test programs in this directory tree are for demonstrating and testing the functionality of the SDL library, and are placed in the public domain. October 28, 1997 -- Sam Lantinga (slouken@libsdl.org)