| The Gaudi Framework v29r1 (5cd95fa2)

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

- File List
- File Members

Namespaces | Functions
pool_adaptors.hpp File Reference

Pool adaptors. More...

`#include <boost/smart_ptr.hpp>`
Include dependency graph for pool_adaptors.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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

## Functions
template<typename Pool , typename Runnable >
bool | boost::threadpool::schedule (Pool &pool, shared_ptr< Runnable > const &obj)
| Schedules a Runnable for asynchronous execution. More...
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)
| Schedules a task for asynchronous execution. More...
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)

## Detailed Description

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.