SDL_ThreadFunction(3type)

SDL_ThreadFunction3type

The function passed to sdl_createthread () as the new thread's entry point.

Usage

#include "SDL3/SDL.h"

typedef int (SDLCALL *SDL_ThreadFunction) (void *data);

Header file

Defined in SDL3/SDL_thread.h

Function parameters

data

what was passed as data to SDL_CreateThread ().

Return value

Returns a value that can be reported through

SDL_WaitThread ().

Availability

This datatype 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.