SDL_GetThreadState
Get the current state of a thread.
- Provided by: libsdl3-doc (Version: 3.2.20+ds-2)
- Source: libsdl3
- Report a bug
Get the current state of a thread.
#include <SDL3/SDL_thread.h>
SDL_ThreadState SDL_GetThreadState(SDL_Thread *thread);
Returns the current state of a thread, or SDL_THREAD_UNKNOWN if the thread isn't valid.
This function is available since SDL 3.2.0.