Dv::Thread::Pool::Thread::Init Struct Reference

Auxiliary class which is used to support thread specific initialization and finalization. More...

#include <pool.h>

List of all members.

Public Types

typedef Dv::shared_ptr< Initshared_ptr

Public Member Functions

virtual ~Init ()

Detailed Description

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.

See also:
Dv::Thread::Thread::init

Member Typedef Documentation


Constructor & Destructor Documentation

virtual Dv::Thread::Pool::Thread::Init::~Init (  )  [inline, virtual]

The documentation for this struct was generated from the following file:

dvthread-0.13.4 [11 December, 2009]