This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: Supporting pthreads in libjava on Tru64 UNIX
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: "Boehm, Hans" <hans_boehm at hp dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 22 Jul 2003 12:19:36 +0200 (MEST)
- Subject: RE: Supporting pthreads in libjava on Tru64 UNIX
- References: <75A9FEBA25015040A761C1F74975667D0144222C@hplex4.hpl.hp.com>
Hans Boehm writes:
> I applied your patch to my tree with some additional tests around _PTHREAD_USE_MANGLED_NAMES to check for
> GC_OSF1_THREADS. It is unlikely that would be defined elsewhere. But I'm not positive it isn't.
> And it makes it much clearer (at least to me) why the code is there.
>
> Does that sound right to you?
Sure. The macro name seemed unique enough that no additional guard was
needed, but you are certainly right about the documention value of
GC_OSF1_THREADS. It may even be that some other system has (or will)
use/port Compaq's DECthreads implementation, so better safe than sorry.
> I'll apply the same modification to the gcc patch. I will also test that version a little on other platforms, since it integrates larger pieces of gc6.2.
Fine, thanks.
Rainer