table of contents
SDL_TLSID(3type) | SDL3 DATATYPES | SDL_TLSID(3type) |
NAME¶
SDL_TLSID - Thread local storage ID.
HEADER FILE¶
Defined in SDL3/SDL_thread.h
SYNOPSIS¶
#include "SDL3/SDL.h"
typedef SDL_AtomicInt SDL_TLSID;
DESCRIPTION¶
0 is the invalid ID. An app can create these and then set data for these IDs that is unique to each thread.
AVAILABILITY¶
This datatype is available since SDL 3.1.3.
SEE ALSO¶
•(3), SDL_GetTLS(3), •(3), SDL_SetTLS(3)
SDL 3.1.6 | Simple Directmedia Layer |