Dave,

The gcj port to hppa uses a locking implementation
(libjava/sysdeps/pa/locks.h) which is not signal safe.

The assembly can be interrupted by a signal which if it calls
compare_and_swap again will deadlock. However, I can't tell if this
will ever happen.

The fix for this is to port the lock implementation to use the
light-weight in-kernel compare-and-swap, which is thread-safe and
signal-safe. However, this is only available for Linux.

Does locks.h also need to work for HPUX?

Cheers,
Carlos.


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

Reply via email to