Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_GetThreadState - Get the current state of a thread.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

thread the thread to query.

Header File

       Defined in SDL3/SDL_thread.h

Name

       SDL_GetThreadState - Get the current state of a thread.

Return Value

       ( SDL_ThreadState ) Returns the current state of a thread, or SDL_THREAD_UNKNOWN
        if the thread isn't valid.

See Also

(3), SDL_ThreadState(3type)

Simple Directmedia Layer                           SDL 3.2.10                              SDL_GetThreadState(3)

Synopsis

#include"SDL3/SDL.h"SDL_ThreadStateSDL_GetThreadState(SDL_Thread*thread);

See Also