DRAFT |
SDL_SemValue
Use this function to return the current count of the a semaphore.
Syntax
Uint32 SDL_SemValue(SDL_sem* sem)
Function Parameters
sem |
the semaphore to query |
Return Value
Returns the current count of the semaphore or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
*
sem_value = SDL_SemValue(my_sem);
*
Remarks
You can add useful comments here