[patch] libgcj enable hash_syncronization & pthread_slow on darwin
Andreas Tobler
toa@pop.agri.ch
Mon Jul 5 20:56:00 GMT 2004
Hi,
the attached patch enables enable_hash_synchronization_default and
slow_pthread_self on darwin. The hash sync part is necessary to get some
swing stuff working. Without we hang forever.
About the benefit of slow_pthread_self I'm not quite sure. Maybe it
would help on a G5?
Tested on a G4 Powerbook with darwin-7.4.0, no regressions. And ppc32
linux. Also compiled by Janis on a ppc64 system.
Ok for main?
Andreas
2004-07-05 Andreas Tobler <a.tobler@schweiz.ch>
* configure.host: Enable hash synchronization and slow_pthread_self
on Darwin.
* sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
';', since this is a comment on Darwin.
(compare_and_swap_release): Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hash-sync.diff
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040705/9765abcb/attachment.ksh>
More information about the Java-patches
mailing list