pthread_cond_broadcast(3-thr) pthread_cond_broadcast(3-thr)
NAME
pthreadcondbroadcast - wakes all threads that are waiting on a con-
dition variable
SYNOPSIS
#include <pthread.h>
int pthreadcondbroadcast(pthreadcondt *cond);
PARAMETERS
cond Condition variable broadcast.
DESCRIPTION
The pthreadcondbroadcast() routine wakes all threads waiting on a
condition variable. Calling this routine implies that data guarded by
the associated mutex has changed so that it might be possible for one
or more waiting threads to proceed. If any one waiting thread might be
able to proceed, call pthreadcondsignal().
Call this routine when the associated mutex is either locked or
unlocked.
RETURN VALUES
If the function fails, errno may be set to one of the following
values:
EINVAL The value specified by cond is invalid.
SEE ALSO
pthreadconddestroy(3-thr), pthreadcondinit(3-thr),
pthreadcondsignal(3-thr), pthreadcondtimedwait(3-thr),
pthreadcondwait(3-thr).
Page 1 Reliant UNIX 5.44 Printed 11/98