Pool adaptors. More...
#include <boost/smart_ptr.hpp>
Go to the source code of this file.
Namespaces | |
namespace | boost |
The namespace threadpool contains a thread pool and related utility classes. | |
namespace | boost::threadpool |
Functions | |
template<typename Pool , typename Runnable > | |
bool | boost::threadpool::schedule (Pool &pool, shared_ptr< Runnable > const &obj) |
template<typename Pool > | |
enable_if< is_void< typename result_of< typename Pool::task_type() >::type > , bool >::type | boost::threadpool::schedule (Pool &pool, typename Pool::task_type const &task) |
template<typename Pool > | |
enable_if< is_void< typename result_of< typename Pool::task_type() >::type > , bool >::type | boost::threadpool::schedule (shared_ptr< Pool > const pool, typename Pool::task_type const &task) |
Pool adaptors.
This file contains an easy-to-use adaptor similar to a smart pointer for the pool class.
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_adaptors.hpp.