threadpool | Overview | Reference | Tutorial | Examples | Design

Tutorial | Quick Start | Prioritized Tasks | Arbitrary Task Functions | Advanced Pool Instantiation

Arbitrary Task Functions

TODO This tutorial is out dated.

## Member Task Functions

using namespace boost::threadpool;

TODO
boost::bind(member_function, shared_ptr) 26 tp->schedule(boost::bind(task_with_parameter, 42)); 12 // Second example task 13 void task_with_parameter(int value) 14 { 15 ... 16 }

## Member Task Functions

Copyright © 2005-2008 Philipp Henkel | Overview | Reference | Tutorial | Examples | Design