|
⇤ ← Revision 1 as of 2010-06-06 22:40:15
Size: 640
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
|
Size: 893
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
