SDL_ThreadID(3type)

πŸ’– SDL_ThreadID πŸ’–

okay bestie, so this is the SDL_ThreadID page from the SDL3 datatypes crew β€” yes, lowercase-and-proud, it's a 3type page, we're doing types today πŸŽ€


✨ NAME ✨

SDL_ThreadID β€” a unique numeric ID that identifies a thread. that's it. that's the whole job. and she does it flawlessly πŸ’…


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_thread.h>

typedef Uint64 SDL_ThreadID;

look at her. one typedef, zero drama, Uint64 energy. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea πŸ«– β€” these are different from SDL_Thread objects. and like, SDL_Thread objects are generally what an application will actually operate on, that's the main character fr fr πŸ‘‘

but sometimes you just need a way to uniquely identify a thread, and that's literally what this is for. it can be useful at times. no cap. 🧚


🌈 AVAILABILITY 🌈

this datatype is available since SDL 3.2.0. so if you're on anything older, bestie… it's giving nothing, she's not there yet 😭


πŸŽ€ SEE ALSO πŸŽ€

go read those too, they're iconic, iykyk πŸ’œ


and that's the whole page!! 🫢 this lil slice of SDL3 DATATYPES comes to you from Simple Directmedia Layer, running SDL 3.4.18, filed under SDL_ThreadID(3type). slay, bye bestie! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ”₯πŸ‘‘πŸŒˆβ­πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from