logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_ThreadState - The SDL thread state.

Availability

       This enum is available since SDL 3.2.0.

Description

       The current state of a thread can be checked by calling SDL_GetThreadState.

Name

       SDL_ThreadState - The SDL thread state.

See Also

SDL_GetThreadState(3)

Simple Directmedia Layer                           SDL 3.2.20                             SDL_ThreadState(3type)

Synopsis

#include<SDL3/SDL_thread.h>typedefenumSDL_ThreadState{SDL_THREAD_UNKNOWN,/**<Thethreadisnotvalid*/SDL_THREAD_ALIVE,/**<Thethreadiscurrentlyrunning*/SDL_THREAD_DETACHED,/**<Thethreadisdetachedandcan'tbewaitedon*/SDL_THREAD_COMPLETE/**<ThethreadhasfinishedandshouldbecleanedupwithSDL_WaitThread()*/}SDL_ThreadState;

See Also