SDL_GetThreadState(3)

SDL_GetThreadState3

Get the current state of a thread.

Usage

#include "SDL3/SDL.h"

SDL_ThreadState SDL_GetThreadState(SDL_Thread *thread);

Header file

Defined in SDL3/SDL_thread.h

Function parameters

thread

the thread to query.

Return value

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

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.