mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 20:28:28 +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
|
@ -78,7 +78,7 @@ extern void SDL_RunThread(SDL_Thread *thread);
|
|||
/* This is the system-independent thread local storage structure */
|
||||
typedef struct
|
||||
{
|
||||
SDL_TLSID limit;
|
||||
int limit;
|
||||
struct
|
||||
{
|
||||
void *data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue