Wiki Page Content

Revision 1 as of 2010-06-06 23:49:29

Clear message

DRAFT

SDL_CondWait

Use this function to wait on the condition variable, unlocking the provided mutex.

Syntax

int SDL_CondWait(SDL_cond*  cond,
                 SDL_mutex* mut)

Function Parameters

cond

a pointer to the SDL_cond structure that is being applied ???

mut

a pointer to the SDL_mutex structure that is to be unlocked

Return Value

Returns 0 when it is signaled, or -1 on error; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

/!\ {i} The mutex must be locked before entering this function! The mutex is re-locked once the condition variable is signaled.


CategoryAPI, CategoryMutex

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