Get the current state of a thread.
Defined in <SDL3/SDL_thread.h>
SDL_ThreadState SDL_GetThreadState(SDL_Thread *thread);
SDL_Thread * | thread | the thread to query. |
(SDL_ThreadState) Returns the current state of a thread, or SDL_THREAD_UNKNOWN if the thread isn't valid.
This function is available since SDL 3.1.8.