SDL_TLSID(3type)

πŸ’– NAME πŸ’–

okay so bestie, this is the SDL_TLSID(3type) page from SDL3 DATATYPES, and the name of the game is Thread local storage ID. That's it, that's the name, and it's lowkey iconic. πŸŽ€

✨ SYNOPSIS ✨

#include <SDL3/SDL_thread.h>

typedef SDL_AtomicInt SDL_TLSID;

🧚 DESCRIPTION 🧚

0 is the invalid ID. no cap, zero is the "nope" one. πŸ™ˆ

An app can create these IDs and then set data for these IDs that is unique to each thread. So like, each thread gets its own lil data situation for the ID, and the whole type is literally just SDL_AtomicInt. periodt. πŸ’…

🌈 AVAILABILITY 🌈

This datatype is available since SDL 3.2.0. that's the availability tea, bestie. ✨

πŸŽ€ SEE ALSO πŸŽ€


and that's the whole page 🫢 it comes from Simple Directmedia Layer, version SDL 3.4.18, and it's the SDL_TLSID(3type) page. The footer has no date line, so no date to spill β€” just source/version energy. bye bestie πŸ’–

πŸ“¦ where this page comes from