Ubuntu Manpages

SDL_GetThreadState

Get the current state of a thread.

#include <SDL3/SDL_thread.h>
SDL_ThreadState SDL_GetThreadState(SDL_Thread *thread);

the thread to query.

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

This function is available since SDL 3.2.0.

SDL_ThreadState(3type)