Multithreaded Programming Guide

cond_timedwait Return Values

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


EFAULT

Description:

cv points to an illegal address.


ETIME

Description:

The time specified by abstime has expired.


EINVAL

Description:

abstime is invalid.