mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-11-30 16:48:41 +01:00
8e5388c72fdbbca2af82a52e80dc5f7a2c6ad76e
- Now the writer increments a global variable, and readers report on its current value, which shows not just what order things lock, but also that serialization is happening appropriately. - Readers will, once we hit the timeout, sleep and never try to grab the lock, so even if normal operation results in complete starvation (launch with `--nbthreads 1000`, etc), the writer will be able to obtain the lock shortly after the time limit and everything will shut down in orderly fashion. - Other minor cleanups and tweaks. Fixes #15346.
Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.
You can find the latest release and additional information at: https://www.libsdl.org/
Installation instructions and a quick introduction is available in INSTALL.md
This library is distributed under the terms of the zlib license, available in LICENSE.txt.
Enjoy!
Sam Lantinga (slouken@libsdl.org)
Languages
C
86.5%
C++
5.2%
Objective-C
3.4%
CMake
1.8%
Java
0.8%
Other
2.1%