logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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);

See Also