pthread_mutexattr_setprotocol: where did it go?

Bojan Smojver bojan at
Thu Jan 26 03:32:44 UTC 2006

Does anyone know if pthread_mutexattr_setprotocol was omitted from
<pthread.h> (glibc-headers) by accident or if it's supposed to be
somewhere else? I'm trying to build vanilla APR on the recent Rawhide
and it's complaining about it:

locks/unix/proc_mutex.c:338: warning: implicit declaration of function
locks/unix/proc_mutex.c:338: error: 'PTHREAD_PRIO_INHERIT' undeclared
(first use in this function)

As you can see, PTHREAD_PRIO_INHERIT also isn't there, so the
compilation fails. The manual page, however, mentions both as being
present in <pthread.h>.

Should I be installing some other package or something?

PS. Current Rawhide APR has been built on Jan 05 and glibc-headers are
from Jan 10, so there is a chance this was not seen in the Rawhide build


More information about the fedora-devel-list mailing list