SDL_GetThreadState3
Get the current state of a thread.
Usage
#include "SDL3/SDL.h"
SDL_ThreadState SDL_GetThreadState(SDL_Thread *thread);
Header file
Defined in SDL3/SDL_thread.h
Function parameters
- thread
-
the thread to query.
Return value
( SDL_ThreadState ) Returns the current state of a thread, or SDL_THREAD_UNKNOWN
if the thread isn't valid.