DOKK / manpages / debian 13 / libsdl3-doc / SDL_ThreadFunction.3type.en
SDL_ThreadFunction(3type) SDL3 DATATYPES SDL_ThreadFunction(3type)

SDL_ThreadFunction - The function passed to SDL_CreateThread () as the new thread's entry point.

Defined in SDL3/SDL_thread.h

#include "SDL3/SDL.h"
typedef int (SDLCALL *SDL_ThreadFunction) (void *data);

what was passed as data to SDL_CreateThread ().

Returns a value that can be reported through

SDL_WaitThread ().

This datatype is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer