Multithreaded Programming Guide

Return Values

pthread_cond_reltimedwait_np() returns zero after completing successfully. Any other return value indicates that an error occurred. When either of the following conditions occurs, the function fails and returns the corresponding value.


EINVAL

cv or reltime points to an illegal address.


ETIMEDOUT

The time interval specified by reltime has passed.