The SDL thread state.
Defined in <SDL3/SDL_thread.h>
typedef enum SDL_ThreadState
{/**< The thread is not valid */
SDL_THREAD_UNKNOWN, /**< The thread is currently running */
SDL_THREAD_ALIVE, /**< The thread is detached and can't be waited on */
SDL_THREAD_DETACHED, /**< The thread has finished and should be cleaned up with SDL_WaitThread() */
SDL_THREAD_COMPLETE } SDL_ThreadState;
The current state of a thread can be checked by calling SDL_GetThreadState.
This enum is available since SDL 3.1.3.