mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
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
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue