Does anybody know of a fully thread-safe shared_ptr implementation? E.g. boost implementation of shared_ptr is thread-safe for the targets (refcounting
shared_ptr
In my opinion, the easiest solution is to use an intrusive_ptr with a few minor (but necessary) modifications.
intrusive_ptr
I shared my implementation below:
http://www.philten.com/boost-smartptr-mt/