pthread_mutexattr_getprioceiling和pthread_mutexattr_setprioceiling子例程分别获取并设置先前由pthread_mutexattr_init子例程创建的attr参数所指向的互斥属性对象的优先级上限属性。 prioceiling属性包含已初始化互斥对象的优先级上限。prioceiling参数的值在 SCHED_FIFO 定义的最大优先级范围内。 prioceiling参...
pthread_mutexattr_setprioceiling(3T) は、mutex 属性オブジェクトの優先順位上限属性を設定します。#include <pthread.h> int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr, int prioceiling, int *oldceiling);attr は、先の pthread_mutexattr_init() の呼び出しによって作成された ...
#include <pthread.h> int pthread_mutexattr_setprioceiling(pthread_mutexatt_t *attr, int prioceiling);attr points to a mutex attribute object created by an earlier call to pthread_mutexattr_init().prioceiling specifies the priority ceiling of initialized mutexes. The ceiling defines the minimum ...
Upon successful completion, thepthread_mutexattr_getprioceilingandpthread_mutexattr_setprioceilingsubroutines return zero; otherwise, an error number shall be returned to indicate the error. Error Codes Thepthread_mutexattr_getprioceilingandpthread_mutexattr_setprioceilingsubroutines can fail ...
On successful completion, pthread_mutexattr_setprioceiling() returns 0. Any other return value indicates that an error occurred.If either of the following conditions occurs, pthread_mutexattr_setprioceiling() might fail and return the corresponding value....