All of lore.kernel.org
 help / color / mirror / Atom feed
* PI support for semaphores?
@ 2006-07-13 10:55 Mark Hounschell
  2006-07-13 12:23 ` Esben Nielsen
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Hounschell @ 2006-07-13 10:55 UTC (permalink / raw)
  To: linux-kernel; +Cc: Mark Hounschell

Does PI support for user land semaphores exist?

Thanks
Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PI support for semaphores?
  2006-07-13 10:55 PI support for semaphores? Mark Hounschell
@ 2006-07-13 12:23 ` Esben Nielsen
  0 siblings, 0 replies; 2+ messages in thread
From: Esben Nielsen @ 2006-07-13 12:23 UTC (permalink / raw)
  To: Mark Hounschell; +Cc: linux-kernel, Mark Hounschell



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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-13 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-13 10:55 PI support for semaphores? Mark Hounschell
2006-07-13 12:23 ` Esben Nielsen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.