mirror of https://github.com/libsdl-org/SDL.git
This makes the subsystem thread-safe, more performant, and cleans up the code a little. Also removed SDL_HINT_WINDOWS_FORCE_MUTEX_CRITICAL_SECTIONS, since setting this hint programmatically initializes properties, which creates a lock, so we can't check hints while creating locks. The slim reader-writer locks have been the default for ages and are solid, so we'll just use those when available. |
||
|---|---|---|
| .. | ||
| generic | ||
| n3ds | ||
| ngage | ||
| ps2 | ||
| psp | ||
| pthread | ||
| stdcpp | ||
| vita | ||
| windows | ||
| SDL_systhread.h | ||
| SDL_thread.c | ||
| SDL_thread_c.h | ||