mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Userland PI-futex does not work on ARM (2.6.21.5-rt18)
@ 2007-07-03 19:01 Remy Bohmer
  0 siblings, 0 replies; only message in thread
From: Remy Bohmer @ 2007-07-03 19:01 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel; +Cc: andrew, Ingo Molnar, Daniel Walker

Hello All,

I am using the 2.6.21.5-rt18 kernel on the ARM core Atmel at91rm9200
together with a Glibc 2.5+GCC4.2.0 toolchain, and I found out that the
userland PI futexes (configured with PTHREAD_PRIO_INHERIT) do not
work.

What happens is:
* Thread A claims the mutex, and gets the lock.
* Thread B claims the mutex, and *also* gets the lock. (this is
obviously already wrong)
* Thread A wants to release the mutex and that fails because it does
not own it...

It looks like mutexes configured *without* PTHREAD_PRIO_INHERIT seem
to work fine, but have not tested that thouroughly.

Is this problem already known, or am I the first person running into it?


Kind Regards,

Remy Böhmer

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-03 19:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-03 19:01 Userland PI-futex does not work on ARM (2.6.21.5-rt18) Remy Bohmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®