This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: More Tru64 errors
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: "Boehm, Hans" <hans_boehm at hp dot com>
- Cc: "'Jeff Sturm'" <jsturm at one-point dot com>, Java GCC <java at gcc dot gnu dot org>
- Date: Tue, 11 Dec 2001 12:43:21 +1300
- Subject: Re: More Tru64 errors
- References: <40700B4C02ABD5119F000090278766443BEE08@hplex1.hpl.hp.com>
Boehm, Hans wrote:
>>>Maybe it should just define GC_LINUX_THREADS (which should
>>>
>>really be
>>
>>>renamed GC_POSIX_THREADS) and hope that it works?
>>>
>>That might be a good strategy for the trunk.
>>
>That assumes a somewhat harder goal than what I have had in mind. My goal
>has been to have linux_threads.c work on all pthreads platforms. (It's not
>even clear that's achievable, since it may involve performance regressions
>on Solaris, even if it works reliably.)
>
I was thinking that there is nothing that can't be done with generic
pthreads calls, assuming the platform implements the pthreads spec
fully. Of course, in many cases we want to override parts of the generic
code to work around platform specific issues or to get better performance.
So what I had in mind was a generic posix_threads.c but with platform
specific headers (eg gc_linux.h) which gets included in the
GC_LINUX_THREADS case and can override some of the threads functions? Of
course, this may well be easier to imagine than it is to implement ;-)
regards
Bryce.