1SDL_CondWait(3) SDL API Reference SDL_CondWait(3)
23
4
NAME
6SDL_CondWait - Wait on a condition variable
7
SYNOPSIS
9#include "SDL.h" #include "SDL_thread.h"
1011
int SDL_CondWait(SDL_cond *cond, SDL_mutex *mut);
12
DESCRIPTION
14Wait on the condition variable cond and unlock the provided mutex. The
15mutex must the locked before entering this function. Returns 0 when it
16is signalled, or -1 on an error.
17
SEE ALSO
19SDL_CondWaitTimeout, SDL_CondSignal, SDL_mutexP
2021
22
23
SDL Tue 11 Sep 2001, 23:00 SDL_CondWait(3)