Get the current thread's value associated with a thread local storage ID.
Defined in SDL_thread.h
void * SDL_TLSGet(SDL_TLSID id);
SDL_TLSID | id | the thread local storage ID. |
(void *) Returns the value associated with the ID for the current thread or NULL if no value has been set; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.