SDL_TLSID.3type - Man Page

Thread local storage ID.

Synopsis

#include <SDL3/SDL_thread.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

SDL_GetTLS(3), SDL_SetTLS(3)

Info

SDL 3.4.0 Simple Directmedia Layer SDL3 DATATYPES