Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

process_threadpool

Returns the process threadpool.

Description

On first use, this instantiates a default std_thread_pool running BOOST_AFIO_MAX_NON_ASYNC_QUEUE_DEPTH threads which will remain until its shared count reaches zero.

Synopsis
BOOST_AFIO_DECL std::shared_ptr<std_thread_pool> process_threadpool()
Parameters

Type

Concept

Name

Description

Header

#include <boost/afio/v2/afio.hpp>


PrevUpHomeNext