[boost] Re: Race condition in boost::spirit?
by David Abrahams other posts by this author
Jan 18 2005 9:24AM messages near this date
[boost] Re: ill-formed XML in boost::unit_test logger
|
[boost] Re: [test, others..] EOLs and such.
SOURCE "Peter Dimov" <pdimov@[...].net> writes:
> Alexander Terekhov wrote:
> > Peter Dimov wrote:
> > [...]
> >> Local static objects can be made safe by the compiler. The new cxx64
> >> API requires it.
> >
> > Too bad that new cxx64 ABI couldn't mandate a standard #pragma (or
> > something like that) to turn it on/off ("you should not pay for what
> > you don't use" motto, you know).
>
> I actually think that not offering a way to turn it off is somewhat better,
> long term. Without an option to turn it off, compiler writers are forced to
> optimize local statics (using DCSI-MBR/DCCI/whatever).
Any compiler writer is free to offer a way to turn it off as an
extension. They're also free to not use those optimizations.
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
|