SDL/src/thread
Ryan C. Gordon 46bb47cf04 thread: Put all important SDL_CreateThread internal data into SDL_Thread.
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.
2020-03-26 22:14:59 -04:00
..
generic thread: Put all important SDL_CreateThread internal data into SDL_Thread. 2020-03-26 22:14:59 -04:00
psp thread: Put all important SDL_CreateThread internal data into SDL_Thread. 2020-03-26 22:14:59 -04:00
pthread thread: Put all important SDL_CreateThread internal data into SDL_Thread. 2020-03-26 22:14:59 -04:00
stdcpp thread: Put all important SDL_CreateThread internal data into SDL_Thread. 2020-03-26 22:14:59 -04:00
windows thread: Put all important SDL_CreateThread internal data into SDL_Thread. 2020-03-26 22:14:59 -04:00
SDL_systhread.h thread: Put all important SDL_CreateThread internal data into SDL_Thread. 2020-03-26 22:14:59 -04:00
SDL_thread.c thread: Put all important SDL_CreateThread internal data into SDL_Thread. 2020-03-26 22:14:59 -04:00
SDL_thread_c.h thread: Put all important SDL_CreateThread internal data into SDL_Thread. 2020-03-26 22:14:59 -04:00