Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-06-06 22:40:15
Size: 640
Editor: SheenaSmith
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
Revision 2 as of 2010-09-08 22:04:37
Size: 893
Editor: SheenaSmith
Comment: update content (old wiki)
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
You can add your code example here SDL_cond *cond;

cond=SDL_CreateCond();
.
.
/* Do stuff */
.
.
SDL_DestroyCond(cond);
Line 26: Line 34:
<<Color2(green,Since this has no params does it actually ''create'' the structure or does it just assign an existing structure to a thread?)>>
Line 27: Line 37:
 .[[SDL_DestroyCond]]  .[[SDL_CondSignal]] *
 .[[SDL_CondWait]] *
 .[[SDL_DestroyCond]] *

DRAFT

SDL_CreateCond

Use this function to create a condition variable.

Syntax

SDL_cond* SDL_CreateCond(void)

Return Value

Returns a pointer to the SDL_cond structure that is created / filled with the condition variable.

Code Examples

SDL_cond *cond;

cond=SDL_CreateCond();
.
.
/* Do stuff */
.
.
SDL_DestroyCond(cond);

Remarks

You can add useful comments here

green


CategoryAPI, CategoryMutex

None: SDL_CreateCond (last edited 2014-01-11 13:50:10 by PhilippWiesemann)

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