Open System Services System Calls Reference Manual (G06.25+, H06.03+)

System Functions (n - p) pthread_cond_timedwait(2)
RETURN VALUES
If an error condition occurs, this function returns an integer value indicating the type of error.
Possible return values are:
0 Successful completion.
[EINVAL] One of the following conditions exists:
The value specied by cond, mutex,orabstime is invalid.
Different mutexes are supplied for concurrent
pthread_cond_timedwait()
operations or pthread_cond_wait()
opera-
tions on the same condition variable.
The mutex was not owned by the calling thread at the time of the call.
[ENOMEM] The system cannot acquire the memory needed to block using a statically initial-
ized condition variable.
[ETIMEDOUT]
The time specied by the abstime parameter expired.
RELATED INFORMATION
Functions: pthread_cond_broadcast(2), pthread_cond_destroy(2), pthread_cond_init(2),
pthread_cond_signal(2), pthread_cond_wait(2), pthread_get_expiration_np(2).
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specication. Interfaces documented on this
reference page conform to the following industry standards:
IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header le spthread.h is an HP exception to the POSIX standard. The return of
[ENOMEM] is an HP extension to the POSIX standard.
527186-003 Hewlett-Packard Company 549