boost::cmt::retainable Class Reference

provides reference counted type More...

#include <retainable.hpp>

Inherited by boost::cmt::abstract_thread, boost::cmt::promise_base, and boost::cmt::task.

List of all members.

Public Member Functions

void retain ()
void release ()

Friends

class stack_retainable

Detailed Description

provides reference counted type

Use with retainable_ptr<T> to get automatic retain/release functionality.

This class uses atomic operations so the reference count is safe for sharing objects among threads


The documentation for this class was generated from the following file:
 All Classes Files Functions Typedefs
Generated on Wed Jul 27 22:26:30 2011 for Boost.CMT - Cooperative Multi-Tasking by  doxygen 1.6.3