Files
SDL/src
Ryan C. Gordon 6d35168a63 thread: Remove semaphore in thread creation.
This was added so that the new thread definitely has its threadid set, via
SDL_GetCurrentThreadID(), before SDL_CreatThread returns, but this broke
Emscripten, which can't wait on a newly-created thread, since the thread won't
start until a later mainloop iteration.

Now we have the creating thread set this id in SDL_SYS_CreateThread, where
platform-specific logic can figure out how to calculate the new thread's ID
from the parent thread, without using SDL_GetCurrentThreadID().

Fixes #15509.

(cherry picked from commit 922b872b4f)
2026-05-05 00:54:08 -04:00
..
2026-05-04 11:49:45 -07:00
2026-01-01 09:48:19 -08:00
2026-05-04 11:49:45 -07:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-23 16:02:27 -08:00
2026-03-30 10:49:46 -07:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-23 11:23:55 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-03-03 15:10:43 -05:00