Thread pool core. More...
#include "locking_ptr.hpp"
#include "worker_thread.hpp"
#include "../task_adaptors.hpp"
#include <boost/thread.hpp>
#include <boost/thread/exceptions.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition.hpp>
#include <boost/smart_ptr.hpp>
#include <boost/bind.hpp>
#include <boost/static_assert.hpp>
#include <boost/type_traits.hpp>
#include <vector>
Go to the source code of this file.
Classes | |
class | boost::threadpool::detail::pool_core< 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 |
namespace | boost::threadpool::detail |
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_core.hpp.