Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention

This commit is contained in:
Sam Lantinga
2023-04-28 07:31:12 -07:00
parent 61c0c009ab
commit 87ad71f9b2
75 changed files with 452 additions and 422 deletions

View File

@@ -110,7 +110,7 @@ SDL_COMPILE_TIME_ASSERT(size, CountTo_GreaterThanZero); /* check for rollover */
static SDL_AtomicInt good = { 42 };
static atomicValue bad = 42;
static SDL_AtomicInt threadsRunning;
static SDL_sem *threadDone;
static SDL_Semaphore *threadDone;
static int SDLCALL adder(void *junk)
{
@@ -285,7 +285,7 @@ typedef struct
SDL_AtomicInt active;
/* Only needed for the mutex test */
SDL_mutex *mutex;
SDL_Mutex *mutex;
} SDL_EventQueue;