SDL_GetThreadState - Man Page

Get the current state of a thread.

Header File

Defined in SDL3/SDL_thread.h

Synopsis

#include "SDL3/SDL.h"

SDL_ThreadState SDL_GetThreadState(SDL_Thread *thread);

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.

See Also

·(3), SDL_ThreadState(3type)

Referenced By

SDL_ThreadState.3type(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS