pthread_mutexattr_getprioceiling

Returns the prioceiling attribute from the mutex attribute object.

Library:LibC
Classification:POSIX
Service:Synchronization

Syntax

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

Parameters

attr

(IN) Points to the mutex attribute object.

prioceiling

(OUT) 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