Multithreaded Programming Guide

pthread_cond_reltimedwait_np 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

Description:

The value specified by reltime is invalid.


ETIMEDOUT

Description:

The time interval specified by reltime has passed.