SDL_TLSID.3type - Man Page

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.2.0.

See Also

·(3), SDL_GetTLS(3), ·(3), SDL_SetTLS(3)

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 DATATYPES