
7 Aug
2007
7 Aug
'07
9:18 p.m.
On Tue, August 7, 2007 19:09, gast128 wrote:
David Abrahams
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@lists.boost.org 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