7 Aug
2007
7 Aug
'07
5:09 p.m.
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).