Wiki Page Content

Revision 1 as of 2010-06-02 00:30:50

Clear message

DRAFT

SDL_CreateSemaphore

Use this function to create a semaphore, initialized with value, returns NULL on failure.

green

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


CategoryAPI, CategoryMutex

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit