Manual Pages for UNIX Darwin command on man pthread_cond_destroy
MyWebUniversity

Manual Pages for UNIX Darwin command on man pthread_cond_destroy

PTHREADCONDDESTROY(3) BSD Library Functions Manual PTHREADCONDDESTROY(3)

NAME

pptthhrreeaaddccoonnddddeessttrrooyy - destroy a condition variable

SYNOPSIS

##iinncclluuddee <>

int pptthhrreeaaddccoonnddddeessttrrooyy(pthreadcondt *cond);

DESCRIPTION

The pptthhrreeaaddccoonnddddeessttrrooyy() function frees the resources allocated by the condition variable cond.

RETURN VALUES

If successful, the pptthhrreeaaddccoonnddddeessttrrooyy() function will return zero, oth-

erwise an error number will be returned to indicate the error. EERRRROORRSS pptthhrreeaaddccoonnddddeessttrrooyy() will fail if: [EINVAL] The value specified by cond is invalid. [EBUSY] The variable cond is locked by another thread.

SEE ALSO

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

pptthhrreeaaddccoonnddddeessttrrooyy() 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 ™