Boost logo

Boost Users :

From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-08-07 17:18:39


On Tue, August 7, 2007 19:09, gast128 wrote:
> David Abrahams <dave <at> boost-consulting.com> writes:
>
>
>> No, it's exactly "as threadsafe as int."
>>
>> snip because of 'There's much more quoted text in your article than new.
>> Prune quoted stuff.'
>>
>> That sequence would not be safe with a naive
>> reference-counted pointer that was totally unaware of thread safety.
>
>
> 'Inside COM' from Dale Rogerson suggests to make ref counting atomic (i.e.
> through InterLockedIncrement).
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

shared_ptr ref counting is implemented the same way under windows (at least the version I have
looked at a year ago).

With Kind Regards,

Ovanes Markarian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net