commit | b378bc5c83eab9abf6d025a1434d27c2a81fe912 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Fri Jul 12 08:00:04 2024 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Fri Jul 12 08:00:04 2024 -0700 |
tree | 8369049cba0b3fc5631713509462daf0754cc8ab | |
parent | b13dcf24d60fe90d855270d0faf73e8dbbda4805 [diff] |
Make sure timers are initialized before any threads start This prevents race conditions and divide by zero if multiple threads start using the time functions simultaneously.
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
More extensive documentation is available in the docs directory, starting with README.md
Enjoy!
Sam Lantinga (slouken@libsdl.org)