Re: PI support for semaphores?

From: Esben Nielsen
Date: Thu Jul 13 2006 - 07:21:33 EST




On Thu, 13 Jul 2006, Mark Hounschell wrote:

Does PI support for user land semaphores exist?


Yes.
But please stop call them "semaphores". PI only makes sense for the kind of semaphores called "mutexes" (which can be just a basic semaphore).

2.6.18-rc1 and 2.6.17-rt7 (and earlier) have PI futexes.
You still need a patch to glibc. I downloaded it from
http://people.redhat.com/mingo/PI-futex-patches/

I have tested it and it works fine (except for a small problem with pthread_mutex_timedlock(), which shouldn't be a problem for 95% of the applications :-)

Esben

Thanks
Mark
-
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/

-
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/