2001-09-14 02:41:09 +00:00
.TH "SDL_CondWait" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
2001-04-26 16:45:43 +00:00
.SH "NAME"
2007-12-29 02:34:53 +00:00
SDL_CondWait \- Wait on a condition variable
2001-04-26 16:45:43 +00:00
.SH "SYNOPSIS"
.PP
\fB #include "SDL\& .h"
#include "SDL_thread\& .h"
.sp
\fB int \fB SDL_CondWait\fP \fR (\fB SDL_cond *cond, SDL_mutex *mut\fR );
.SH "DESCRIPTION"
.PP
Wait on the condition variable \fB cond\fR and unlock the provided mutex\& . The mutex must the locked before entering this function\& . Returns \fB 0\fR when it is signalled, or \fB -1\fR on an error\& .
.SH "SEE ALSO"
.PP
\fI \fB SDL_CondWaitTimeout\fP \fR , \fI \fB SDL_CondSignal\fP \fR , \fI \fB SDL_mutexP\fP \fR
2001-09-14 02:41:09 +00:00
. ..\" created by instant / docbook-to-man, Tue 11 Sep 2001 , 23 :00