Auxiliary class which is used to support thread specific initialization and finalization. More...
#include <pool.h>
Public Types | |
typedef Dv::shared_ptr< Init > | shared_ptr |
Public Member Functions | |
virtual | ~Init () |
Auxiliary class which is used to support thread specific initialization and finalization.
The user should subclass this, say in a derived class MyInit so that the MyInit constructor does the initialization and the MyInit destructor does the finalization. In addition, the user should define a version of Dv::Thread::Pool::Thread::init that creates a shared pointer to a newly created MyInit object.
virtual Dv::Thread::Pool::Thread::Init::~Init | ( | ) | [inline, virtual] |
dvthread-0.13.4 | [11 December, 2009] |