Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention
This commit is contained in:
1 parent
61c0c009ab
commit
87ad71f9b2
75 files changed
+452
-422
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user