| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Typedefs
pool.hpp File Reference

Thread pool core. More...

`#include <boost/ref.hpp>`
`#include "./detail/pool_core.hpp"`
`#include "task_adaptors.hpp"`
`#include "./detail/locking_ptr.hpp"`
`#include "scheduling_policies.hpp"`
`#include "size_policies.hpp"`
`#include "shutdown_policies.hpp"`
Include dependency graph for pool.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | boost::threadpool::thread_pool< Task, SchedulingPolicy, SizePolicy, SizePolicyController, ShutdownPolicy >
| Thread pool. More...

## Namespaces
| boost
| The namespace threadpool contains a thread pool and related utility classes.
| boost::threadpool

## Typedefs
typedef thread_pool< task_func, fifo_scheduler, static_size, resize_controller, wait_for_all_tasks > | boost::threadpool::fifo_pool
| Fifo pool. More...
typedef thread_pool< task_func, lifo_scheduler, static_size, resize_controller, wait_for_all_tasks > | boost::threadpool::lifo_pool
| Lifo pool. More...
typedef thread_pool< prio_task_func, prio_scheduler, static_size, resize_controller, wait_for_all_tasks > | boost::threadpool::prio_pool
| Pool for prioritized task. More...
typedef fifo_pool | boost::threadpool::pool
| A standard pool. More...

## Detailed Description

Thread pool core.

This file contains the threadpool's core class: pool<Task, SchedulingPolicy>.

Thread pools are a mechanism for asynchronous and parallel processing within the same process. The pool class provides a convenient way for dispatching asynchronous tasks as functions objects. The scheduling of these tasks can be easily controlled by using customized schedulers.

Copyright (c) 2005-2007 Philipp Henkel

Use, modification, and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

http://threadpool.sourceforge.net

Definition in file pool.hpp.