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
You can easily do this by including a mutex object with every shared pointer, and wrapping increment/decrement commands with the lock.