Public Member Functions | Static Public Member Functions | Private Attributes
boost::threadpool::static_size< Pool > Class Template Reference

SizePolicy which preserves the thread count. More...

#include <size_policies.hpp>

List of all members.

Public Member Functions

bool resize (size_t const worker_count)
 static_size (Pool volatile &pool)
void task_finished ()
void task_scheduled ()
void worker_died_unexpectedly (size_t const new_worker_count)

Static Public Member Functions

static void init (Pool &pool, size_t const worker_count)

Private Attributes

reference_wrapper< Pool volatile > m_pool

Detailed Description

template<typename Pool>
class boost::threadpool::static_size< Pool >

SizePolicy which preserves the thread count.

Parameters:
PoolThe pool's core type.

Definition at line 68 of file size_policies.hpp.


Constructor & Destructor Documentation

template<typename Pool >
boost::threadpool::static_size< Pool >::static_size ( Pool volatile &  pool) [inline]

Definition at line 78 of file size_policies.hpp.


Member Function Documentation

template<typename Pool >
static void boost::threadpool::static_size< Pool >::init ( Pool &  pool,
size_t const  worker_count 
) [inline, static]

Definition at line 73 of file size_policies.hpp.

template<typename Pool >
bool boost::threadpool::static_size< Pool >::resize ( size_t const  worker_count) [inline]

Definition at line 82 of file size_policies.hpp.

template<typename Pool >
void boost::threadpool::static_size< Pool >::task_finished ( ) [inline]

Definition at line 94 of file size_policies.hpp.

template<typename Pool >
void boost::threadpool::static_size< Pool >::task_scheduled ( ) [inline]

Definition at line 93 of file size_policies.hpp.

template<typename Pool >
void boost::threadpool::static_size< Pool >::worker_died_unexpectedly ( size_t const  new_worker_count) [inline]

Definition at line 87 of file size_policies.hpp.


Member Data Documentation

template<typename Pool >
reference_wrapper<Pool volatile> boost::threadpool::static_size< Pool >::m_pool [private]

Definition at line 70 of file size_policies.hpp.


The documentation for this class was generated from the following file:


asr_descriptor_surface_based_recognition
Author(s): Allgeyer Tobias, Hutmacher Robin, Meißner Pascal
autogenerated on Thu Jun 6 2019 17:57:30