Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-06-06 23:49:29
Size: 989
Editor: SheenaSmith
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
Revision 2 as of 2010-08-13 04:23:08
Size: 993
Editor: SheenaSmith
Comment: update content - changeset 4469
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
                 SDL_mutex* mut)                  SDL_mutex* mutex)
Line 18: Line 18:
||'''mut'''||^a pointer to the SDL_mutex structure that is to be unlocked^|| ||'''mutex'''||^a pointer to the SDL_mutex structure that is to be unlocked^||

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

None: SDL_CondWait (last edited 2015-04-26 19:04:51 by PhilippWiesemann)

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