MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_WaitThread

Function SDL_WaitThread

deps/SDL2/src/thread/SDL_thread.c:473–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473void
474SDL_WaitThread(SDL_Thread * thread, int *status)
475{
476 if (thread) {
477 SDL_SYS_WaitThread(thread);
478 if (status) {
479 *status = thread->status;
480 }
481 if (thread->name) {
482 SDL_free(thread->name);
483 }
484 SDL_free(thread);
485 }
486}
487
488void
489SDL_DetachThread(SDL_Thread * thread)

Callers 15

mainFunction · 0.85
closemutexFunction · 0.85
ThreadFuncFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
SDL_XINPUT_HapticCloseFunction · 0.85
SDL_SYS_HapticQuitFunction · 0.85
close_audio_deviceFunction · 0.85
ALSA_DeinitializeFunction · 0.85
PULSEAUDIO_DeinitializeFunction · 0.85

Calls 2

SDL_freeFunction · 0.85
SDL_SYS_WaitThreadFunction · 0.50

Tested by 7

mainFunction · 0.68
closemutexFunction · 0.68
ThreadFuncFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68