#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"
Go to the source code of this file.
Classes | |
class | boost::threadpool::thread_pool< Task, SchedulingPolicy, SizePolicy, SizePolicyController, ShutdownPolicy > |
Thread pool. More... | |
Namespaces | |
namespace | boost |
The namespace threadpool contains a thread pool and related utility classes. | |
namespace | boost::threadpool |
Typedefs | |
typedef thread_pool< task_func, fifo_scheduler, static_size, resize_controller, wait_for_all_tasks > | boost::threadpool::fifo_pool |
Fifo pool. | |
typedef thread_pool< task_func, lifo_scheduler, static_size, resize_controller, wait_for_all_tasks > | boost::threadpool::lifo_pool |
Lifo pool. | |
typedef fifo_pool | boost::threadpool::pool |
A standard pool. | |
typedef thread_pool < prio_task_func, prio_scheduler, static_size, resize_controller, wait_for_all_tasks > | boost::threadpool::prio_pool |
Pool for prioritized task. |
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.