Multithreaded Programming Guide

pthread_mutexattr_setprioceiling Return Values

On successful completion, pthread_mutexattr_setprioceiling() returns 0. Any other return value indicates that an error occurred.

If either of the following conditions occurs, pthread_mutexattr_setprioceiling() might fail and return the corresponding value.


EINVAL

Description:

The value specified by attr is NULL or invalid or prioceiling is invalid.


EPERM

Description:

The caller does not have the privilege to perform the operation.