Manual Pages for UNIX Darwin command on man pthread_cond_broadcast
MyWebUniversity

Manual Pages for UNIX Darwin command on man pthread_cond_broadcast

PTHREADCONDBROADCAS... BSD Library Functions Manual PTHREADCONDBROADCAS...

NAME

pptthhrreeaaddccoonnddbbrrooaaddccaasstt - unblock all threads waiting for a condition

variable

SYNOPSIS

##iinncclluuddee <>

int pptthhrreeaaddccoonnddbbrrooaaddccaasstt(pthreadcondt *cond);

DESCRIPTION

The pptthhrreeaaddccoonnddbbrrooaaddccaasstt() function unblocks all threads waiting for the condition variable cond.

RETURN VALUES

If successful, the pptthhrreeaaddccoonnddbbrrooaaddccaasstt() function will return zero, otherwise an error number will be returned to indicate the error. EERRRROORRSS pptthhrreeaaddccoonnddbbrrooaaddccaasstt() will fail if: [EINVAL] The value specified by cond is invalid.

SEE ALSO

pthreadconddestroy(3), pthreadcondinit(3), pthreadcondsignal(3), pthreadcondtimedwait(3), pthreadcondwait(3) STANDARDS

pptthhrreeaaddccoonnddbbrrooaaddccaasstt() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').

BSD July 28, 1998 BSD




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™