Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention
This commit is contained in:
parent
61c0c009ab
commit
87ad71f9b2
75 changed files with 452 additions and 422 deletions
|
@ -52,14 +52,14 @@ typedef struct
|
|||
SDL_Thread *thread;
|
||||
SDL_AtomicInt nextID;
|
||||
SDL_TimerMap *timermap;
|
||||
SDL_mutex *timermap_lock;
|
||||
SDL_Mutex *timermap_lock;
|
||||
|
||||
/* Padding to separate cache lines between threads */
|
||||
char cache_pad[SDL_CACHELINE_SIZE];
|
||||
|
||||
/* Data used to communicate with the timer thread */
|
||||
SDL_SpinLock lock;
|
||||
SDL_sem *sem;
|
||||
SDL_Semaphore *sem;
|
||||
SDL_Timer *pending;
|
||||
SDL_Timer *freelist;
|
||||
SDL_AtomicInt active;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue