I'm using the Boost smart pointersbut I have a feeling they're not threadsafe?Intrusive_ptr could quite easily be made threadsafebecause by design you control the actual counter and accesses to it. Shared_ptr isharder because it would involve modifying the source code.
Nowthat smart pointers are becoming part of the C++ standardI think they should be consideredfor TBB support (just like TBB has its own thread-safe container implementations). Irealize not everything can be included but smart pointers are widely used and notoriously hard to implementso they'regood candidates.
What do you think?