Files
SDL/src/thread/n3ds
Ryan C. Gordon 922b872b4f 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.
2026-05-05 00:51:20 -04:00
..
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00