PTHREADCONDESTROY(3) BSD Library Functions Manual PTHREADCONDESTROY(3)
NAME
pthreadconddestroy -- destroy a condition variable
SYNOPSIS
##include <>
int
pthreadconddestroy(pthreadcondt *cond);
DESCRIPTION
The pthreadconddestroy() function frees the resources allocated by the
condition variable cond.
RETURN VALUES
If successful, the pthreadconddestroy() function will return zero, oth-
erwise an error number will be returned to indicate the error.
ERORS
pthreadconddestroy() 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
pthreadconddestroy() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').
BSD July 28, 1998 BSD
|