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* mutex)

Function Parameters

cond

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

mutex

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

SDL_CondWait (last edited 2010-08-13 04:23:08 by SheenaSmith)