table of contents
other versions
- trixie 3.2.10+ds-1
 - testing 3.2.26+ds-1
 - unstable 3.2.26+ds-2
 - experimental 3.3.2+git20251103~dc5b136+ds-1
 
| SDL_ThreadState(3type) | SDL3 DATATYPES | SDL_ThreadState(3type) | 
NAME¶
SDL_ThreadState - The SDL thread state.
SYNOPSIS¶
#include <SDL3/SDL_thread.h>
typedef enum SDL_ThreadState
{
    SDL_THREAD_UNKNOWN,     /**< The thread is not valid */
    SDL_THREAD_ALIVE,       /**< The thread is currently running */
    SDL_THREAD_DETACHED,    /**< The thread is detached and can't be waited on */
    SDL_THREAD_COMPLETE     /**< The thread has finished and should be cleaned up with SDL_WaitThread() */
} SDL_ThreadState;
DESCRIPTION¶
The current state of a thread can be checked by calling SDL_GetThreadState.
AVAILABILITY¶
This enum is available since SDL 3.2.0.
SEE ALSO¶
| SDL 3.3.3 | Simple Directmedia Layer |