Home | History | Annotate | Download | only in pthread_mutexattr_setprioceiling
      1 <assertions>
      2   <assertion id="1" tag="ref:XSH6:34307:34317">
      3    The function
      4 
      5    int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr,
      6 	int prioceiling);
      7 
      8   sets the priority ceiling attribute of a mutexattr object (which was prev. created
      9   by the function pthread_mutexattr_init()).
     10 
     11   'Prioceiling' contains the priority ceiling of initialized mutexes.  The values of
     12   'prioceiling' are within the maximum range of priorites defined by SCHED_FIFO.
     13   </assertion>
     14   <assertion id="2" tag="ref:XSH6:34323:34326">
     15   Upon success, it returns 0.
     16   </assertion>
     17   <assertion id="3" tag="ref:XSH6:34327:34331">
     18   It MAY fail if:
     19 
     20   [EINVAL] - 'attr' or 'prioceiling' is invalid.
     21   [EPERM] - The caller doesn't have the privilege to perform the operation.
     22 
     23   </assertion>
     24 </assertions>
     25