More Tru64 errors

Bryce McKinlay bryce@waitaki.otago.ac.nz
Mon Dec 10 15:42:00 GMT 2001


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /