成功完成时,pthread_mutexattr_getprotocol子例程和pthread_mutexattr_setprotocol子例程将返回零; 否则,将返回错误号以指示错误。 错误代码 pthread_mutexattr_setprotocol子例程在下列情况下失败: 在下列情况下,pthread_mutexattr_getprotocol子例程和pthread_mutexattr_setprotocol子例程可能会失败:...
The pthread_mutexattr_setprotocol() and pthread_mutexattr_getprotocol() functions, respectively, set and get the protocol attribute of a mutex attribute object pointed...
I'm trying to build a python app using uWSGI in an alpine based container image. However, uWSGI fails already during startup with the error messageunable to set PTHREAD_PRIO_INHERIT. Full log: [uWSGI] getting INI configuration from uwsgi.ini *** Starting uWSGI 2.0.25.1 (64bit) on [Wed ...
pthread_mutexattr_setprotocol(3THR) は、mutex 属性オブジェクトのプロトコル属性を設定します。#include <pthread.h> int pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr, int protocol);attr は、先の pthread_mutexattr_init() の呼び出しによって作成された mutex 属性オブジェクトを指...
On successful completion, pthread_mutexattr_setprotocol() returns 0. Any other return value indicates that an error occurred.If either of the following conditions occurs, pthread_mutexattr_setprotocol() might fail and return the corresponding value....