pthread_mutexattr_setprotocol: where did it go?

Bojan Smojver bojan at rexursive.com
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
'pthread_mutexattr_setprotocol'
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
yet.

-- 
Bojan




More information about the devel mailing list