Rename SDL_atomic_t to SDL_AtomicInt

This commit is contained in:
David Demelier
2023-02-23 20:33:51 +01:00
committed by Sam Lantinga
parent 8994878767
commit d0c4849d0b
33 changed files with 81 additions and 70 deletions

View File

@@ -34,7 +34,7 @@ typedef struct SDL_Timer
void *param;
Uint64 interval;
Uint64 scheduled;
SDL_atomic_t canceled;
SDL_AtomicInt canceled;
struct SDL_Timer *next;
} SDL_Timer;
@@ -50,7 +50,7 @@ typedef struct
{
/* Data used by the main thread */
SDL_Thread *thread;
SDL_atomic_t nextID;
SDL_AtomicInt nextID;
SDL_TimerMap *timermap;
SDL_mutex *timermap_lock;
@@ -62,7 +62,7 @@ typedef struct
SDL_sem *sem;
SDL_Timer *pending;
SDL_Timer *freelist;
SDL_atomic_t active;
SDL_AtomicInt active;
/* List of timers - this is only touched by the timer thread */
SDL_Timer *timers;