blob: 6f60e9a3f6dd34b7fda2b10d503871388b66101b [file] [log] [blame]
<assertions>
<assertion id="1" tag="ref:XSH6:34307:34317">
The function
int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr,
int prioceiling);
sets the priority ceiling attribute of a mutexattr object (which was prev. created
by the function pthread_mutexattr_init()).
'Prioceiling' contains the priority ceiling of initialized mutexes. The values of
'prioceiling' are within the maximum range of priorites defined by SCHED_FIFO.
</assertion>
<assertion id="2" tag="ref:XSH6:34323:34326">
Upon success, it returns 0.
</assertion>
<assertion id="3" tag="ref:XSH6:34327:34331">
It MAY fail if:
[EINVAL] - 'attr' or 'prioceiling' is invalid.
[EPERM] - The caller doesn't have the privilege to perform the operation.
</assertion>
</assertions>