Re: RT exec for exercising RT kernel capabilities

From: Thomas Gleixner
Date: Fri Jun 09 2006 - 16:10:14 EST


On Fri, 2006-06-09 at 16:04 -0400, Mark Hounschell wrote:
> > Still investigating...
>
> Am I even close in assuming that to enable the PI support you have to use
>
> pthread_mutexattr_setprotocol(mutexattr, PTHREAD_PRIO_INHERIT);
>
> I have only glibc 2.3 and 2.4 and neither of them understand what
> PTHREAD_PRIO_INHERIT is.
>
> Can anyone point me to an some Doc or examples of how to enable PI for
> pthread_mutexes?
>
> Sorry I'm ignorant on the subject. I do understand the principle of PI and may
> even be able to figure out how to test it in user land but how do I turn it on?

Sorry for letting you in the dark. There was a patch against glibc CVS,
but it vansihed somehow. The support will go into glibc CVS when the PI
futex support hits mainline in the 2.6.18 merge window,

tglx


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/