mirror of
https://github.com/encounter/SDL.git
synced 2025-05-19 13:51:27 +00:00
This avoids the need to malloc something extra, use a semaphore, etc, and fixes Emscripten with pthreads support, which might not spin up a web worker until after SDL_CreateThread returns and thus can't wait on a semaphore at this point in any case. Fixes Bugzilla #5064.