My Project
|
multi-threaded reference counted base class for boost::intrusive_ptr all boost::intrusive_ptr<T>, should derive from this class. More...
#include <intrusive_ptr.h>
Public Attributes | |
boost::detail::atomic_count | m_ref_count |
Protected Member Functions | |
intrusive_ptr_thread_safe_base (const intrusive_ptr_thread_safe_base &) | |
intrusive_ptr_thread_safe_base & | operator= (const intrusive_ptr_thread_safe_base &) |
Friends | |
void | boost::intrusive_ptr_add_ref (intrusive_ptr_thread_safe_base *) |
void | boost::intrusive_ptr_release (intrusive_ptr_thread_safe_base *) |
multi-threaded reference counted base class for boost::intrusive_ptr all boost::intrusive_ptr<T>, should derive from this class.
this is a thead safe version. e.g. Class Foo : public ParaEngine::intrusive_ptr_thread_safe_base { members } so now Foo_ptr is the same as boost::shared_ptr typedef boost::intrusive_ptr<Foo> Foo_ptr;