Multithreaded Programming Guide

cond_destroy Return Values

cond_destroy() returns 0 if successful. When any of the following conditions is detected, cond_destroy() fails and returns the corresponding value.


EFAULT

Description:

cv points to an illegal address.


EBUSY

Description:

The system detected an attempt to destroy an active condition variable.