Updated: April 19, 2023 |
Get a mutex's priority ceiling
#include <pthread.h> int pthread_mutex_getprioceiling( const pthread_mutex_t* mutex, int* prioceiling );
libc
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.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |