PTHREADCONDBROADCAS... BSD Library Functions Manual PTHREADCONDBROADCAS...
NAME
pthreadcondbroadcast -- unblock all threads waiting for a condition
variable
SYNOPSIS
##include <>
int
pthreadcondbroadcast(pthreadcondt *cond);
DESCRIPTION
The pthreadcondbroadcast() function unblocks all threads waiting for
the condition variable cond.
RETURN VALUES
If successful, the pthreadcondbroadcast() function will return zero,
otherwise an error number will be returned to indicate the error.
ERORS
pthreadcondbroadcast() will fail if:
[EINVAL] The value specified by cond is invalid.
SEE ALSO
pthreadconddestroy(3), pthreadcondinit(3), pthreadcondsignal(3),
pthreadcondtimedwait(3), pthreadcondwait(3)
STANDARDS
pthreadcondbroadcast() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').
BSD July 28, 1998 BSD
|