SDL Wiki
(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_ThreadFunction

The function passed to SDL_CreateThread().

Header File

Defined in SDL_thread.h, but apps should only #include "SDL.h"!

Syntax

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().


CategoryAPI, CategoryAPIDatatype


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.