pthread_mutexattr_setprioceiling

Sets the prioceiling attribute in the mutex attribute object.

Library:LibC
Classification:POSIX
Service:Synchronization

Syntax

  #include <pthread.h>
   
  int pthread_mutexattr_setprioceiling (
     pthread_mutexattr_t   *attr,
     int                    prioceiling);
  

Parameters

attr

(IN) Points to the mutex attribute object.

prioceiling

(IN) Points to the value for the prioceiling attribute.

Return Values

Returns zero; no error conditions have been defined.

Remarks

The prioceiling attribute contains the priority ceiling of initialized mutexes. On NetWare, this attribute can be set, but it currently has no effect on the behavior of the mutex.

See Also