[Gc] Re: boehm-gc merge for GCC

Boehm, Hans hans.boehm@hp.com
Tue Nov 27 01:09:00 GMT 2012


>> > - bdwgc now depends on another library (libatomic-ops). Shouldn't GCC
> > be able to use it's atomic builtins for some supported targets at
> > least?
>>> Yes, but it sounds like far more effort than its worth to go and change
> it
> just for the sake of using builtins. Maybe libatomic-ops itself could
> be
> made to use the builtins when available.
>Libatomic_ops should eventually be configurable to just use C11/C++11 atomic operations. That hasn't happened yet, but should be fairly easy. Or, if we wait long enough, we could just use the C11 primitves directly. Historically libatomic-ops preceded and influenced the C11/C++11 interface, but the C11/C++11 interface is a much better design (another iteration, a lot more careful thought by many more people, etc.)
Hans


More information about the Java mailing list

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