Get the current thread's value associated with a thread local storage ID.
void * SDL_TLSGet(SDL_TLSID id);
the thread local storage ID
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.