Date: 2001-07-04 13:58:44
--- In boost_at_y..., Chandrasekhar.KG_at_d... wrote:
> This is what I read on the boost mailing list a while ago..
> "An example: shared_ptr has long needed a thread-safe counter, and
> sense to parameterize shared_ptr on the counter type. I suspect
> thread-safe counter will serve most users fine, but we can't
> every kind of system shared_ptr might be used in, so we can't
> every kind of counter that might be needed."
> Can you please tell me whether the shared_ptr implementation thread-
No, since we didn't have a portable way to do such a thing.
>.. or is it being planned to make it thread safe??..
Yes. Once Boost.Threads is accepted (assuming it will be) we'll have
thread synchronization primitives that are portable and can be used
to make shared_ptr<> thread safe.
> Please excuse me if I am asking a question that was posted before..
> could not find an answer to my query from the mail archives..
It's there, though no one asked this specific question so a search
would probably be difficult to do.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk