Boost logo

Boost :

From: Gregory Dai (gregory.dai_at_[hidden])
Date: 2006-08-31 21:24:14


On 8/31/06, John Maddock <john_at_[hidden]> wrote:
>
> Gregory Dai wrote:
> > Perhaps we were not on the same page. What I meant was as long as
> > std::string is used as either the source or target of a lexical_cast,
> > thread safety may not be guaranteed (due to lack of a guarantee by
> > std::string). Though weird/bad things happen more frequently under
> > heavy load and/or on multiprocessor (hyperthreading included)
> > machines.
>
> Right but what do you expect us to do about components like std::string
> that
> are beyond our control?

No, I certainly was not blaming the boost community for some shortcomings of
std::string.

In any case all the implementations I'm aware of are minimally thread safe
> these days, if that's not the case I'd certainly like to hear about
> it. BTW
> implementations that used copy-on-write in the early days almost all
> (all?)
> switched away from that precisely because of threading issues.
>
> John.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

-- 
Thanks,
Greg

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk