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_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