SDL_ThreadFunction - The function passed to SDL_CreateThread() as the new thread's entry point.
Contents
Availability
This datatype is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_ThreadFunction(3type)
Function Parameters
data what was passed as data to SDL_CreateThread().
Name
SDL_ThreadFunction - The function passed to SDL_CreateThread() as the new thread's entry point.
Return Value
Returns a value that can be reported through SDL_WaitThread().
Synopsis
#include<SDL3/SDL_thread.h>typedefint(SDLCALL*SDL_ThreadFunction)(void*data);
