Well I'm not surprised, hppa is one of the sole architecture still
using linuxthreads,

Not exactly, kfreebsd-i386 and kfreebsd-amd64 also use linuxthreads
add-on, there is no problem shown on them.

and probably rwlock/mutexes are different enough so
that seeing one of them like the other makes odd things, whereas NPTL
has some kind of overlapping semantics on both that if it doesn't do the
right thing, doesn't break mutexes too much ;) (I'm just guessing the
the overlapping bits, but I really mean that hppa *is* different wrt
locking).

My guess is the difference between i386/amd64 and hppa is a need for kernel support for compare-and-swap. On hppa, there have to be syscall, which may easily lead into rescheduling, race condition
is just hitted more freqently on hppa.

Anyway, it is only guess, build on hppa will show whether
it would solve the problem.

Petr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to