Reference

SDL_TLSID(3type)

Thread local storage ID.

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

SEE ALSO

•(3), SDL_GetTLS(3), •(3), SDL_SetTLS(3)