DOKK / manpages / debian 12 / libsdl1.2-dev / SDL_CreateCond.3.en
SDL_CreateCond(3) SDL API Reference SDL_CreateCond(3)

SDL_CreateCond - Create a condition variable

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

SDL_cond *SDL_CreateCond(void);

Creates a condition variable.

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

SDL_DestroyCond, SDL_CondWait, SDL_CondSignal

Tue 11 Sep 2001, 23:00 SDL