Get the current value of a semaphore.
Defined in <SDL3/SDL_mutex.h>
Uint32 SDL_GetSemaphoreValue(SDL_Semaphore *sem);
sem | the semaphore to query |
Returns the current value of the semaphore.
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction