Sync SDL3 wiki -> header

This commit is contained in:
SDL Wiki Bot 2024-07-16 19:03:15 +00:00
parent 4aeabb3c3b
commit d65a8146b9
2 changed files with 11 additions and 3 deletions

View file

@ -492,7 +492,9 @@ typedef void (SDLCALL *SDL_TLSDestructorCallback)(void *value);
/**
* Set the current thread's value associated with a thread local storage ID.
*
* If the thread local storage ID is not initialized (the value is 0), a new ID will be created in a thread-safe way, so all calls using a pointer to the same ID will refer to the same local storage.
* If the thread local storage ID is not initialized (the value is 0), a new
* ID will be created in a thread-safe way, so all calls using a pointer to
* the same ID will refer to the same local storage.
*
* Note that replacing a value from a previous call to this function on the
* same thread does _not_ call the previous value's destructor!