SDL_TLSID(3type)

SDL_TLSID3type

Thread local storage id.

Usage

#include "SDL3/SDL.h"

typedef SDL_AtomicInt SDL_TLSID;

Header file

Defined in SDL3/SDL_thread.h

Overview

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.