SDL_CreateCond man page

SDL_CreateCond — Create a condition variable

Synopsis

#include "SDL.h" #include "SDL_thread.h"

SDL_cond *SDL_CreateCond(void);

Description

Creates a condition variable.

Examples

SDL_cond *cond;

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

.
.
SDL_DestroyCond(cond);

See Also

SDL_DestroyCond, SDL_CondWait, SDL_CondSignal

Info

Tue 11 Sep 2001, 23:00 SDL SDL API Reference