(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_WaitThread

The function passed to SDL_CreateThread()

Syntax

int SDL_ThreadFunction(void *data);

Function Parameters

data Data what was passed as data to SDL_CreateThread()

Return Value

A value that can be reported through SDL_WaitThread()

Remarks

See SDL_CreateThread() and SDL_WaitThread()

Version

This function is available since SDL 3.0.0.

Code Examples

See SDL_WaitThread()


CategoryAPI, CategoryThread