Get a mutex's priority ceiling
#include <pthread.h> int pthread_mutex_getprioceiling( const pthread_mutex_t* mutex, int* prioceiling );
- A pointer to the pthread_mutex_t object that you want to priority ceiling for.
- A pointer to a location where the function can store the priority ceiling.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The pthread_mutex_getprioceiling() function returns the priority ceiling of mutex in prioceiling.
- The mutex specified by mutex doesn't currently exist.
- The calling thread doesn't have permission to get the priority ceiling.
Last modified: 2014-06-24