table of contents
other versions
- trixie 3.2.10+ds-1
 - testing 3.2.26+ds-1
 - unstable 3.2.26+ds-2
 - experimental 3.3.2+git20251103~dc5b136+ds-1
 
| SDL_ThreadFunction(3type) | SDL3 DATATYPES | SDL_ThreadFunction(3type) | 
NAME¶
SDL_ThreadFunction - The function passed to SDL_CreateThread () as the new thread's entry point.
HEADER FILE¶
Defined in SDL3/SDL_thread.h
SYNOPSIS¶
#include "SDL3/SDL.h"
typedef int (SDLCALL *SDL_ThreadFunction) (void *data);
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.
| SDL 3.2.10 | Simple Directmedia Layer |