mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
Removed the need for SDL_CreateTLS()
This eliminates the tap dancing needed for allocating TLS slots, we'll automatically allocate them as needed, in a thread-safe way.
This commit is contained in:
parent
1592452cad
commit
ec3bb4c029
12 changed files with 75 additions and 112 deletions
|
@ -2630,11 +2630,6 @@ typedef SDL_cond, SDL_Condition;
|
|||
+ SDL_WINDOW_HIGH_PIXEL_DENSITY
|
||||
@@
|
||||
@@
|
||||
- SDL_TLSCreate
|
||||
+ SDL_CreateTLS
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_TLSGet
|
||||
+ SDL_GetTLS
|
||||
(...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue