DRAFT |
SDL_CreateSemaphore
Use this function to create a semaphore, initialized with value, returns NULL on failure.
green
Contents
Syntax
SDL_sem* SDL_CreateSemaphore(Uint32 initial_value)
Function Parameters
initial_value |
the starting value for the semaphore |
Return Value
Returns the current semaphore value for the resource on success, or NULL on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
