Get the current value of a semaphore.
Defined in SDL_mutex.h
Uint32 SDL_SemValue(SDL_sem * sem);
(Uint32) Returns the current value of the semaphore.
This function is available since SDL 2.0.0.
CategoryAPI, CategoryAPIFunction, CategoryMutex
All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). Wiki powered by ghwikipp.