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

SDL_ThreadID

A unique numeric ID that identifies a thread.

Header File

Defined in <SDL3/SDL_thread.h>

Syntax

typedef Uint64 SDL_ThreadID;

Remarks

These are different from SDL_Thread objects, which are generally what an application will operate on, but having a way to uniquely identify a thread can be useful at times.

Version

This datatype is available since SDL 3.0.0.

See Also


CategoryAPI, CategoryAPIDatatype, CategoryThread