threadpool Overview | Reference | Tutorial | Examples | Design
Reference Class List | Member Functions | Typedefs | File List

c:/Source/threadpool/boost/threadpool/pool_adaptors.hpp File Reference


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.

Go to the source code of this file.

Namespaces

namespace  boost
namespace  boost::threadpool

Functions

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)
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, typename Runnable>
bool boost::threadpool::schedule (Pool &pool, shared_ptr< Runnable > const &obj)

Copyright © 2005-2008 Philipp Henkel Overview | Reference | Tutorial | Examples | Design

Hosted by SourceForge.net Logo