SizePolicy which preserves the thread count. More...
#include <size_policies.hpp>
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 |
SizePolicy which preserves the thread count.
| Pool | The pool's core type. |
Definition at line 68 of file size_policies.hpp.
| boost::threadpool::static_size< Pool >::static_size | ( | Pool volatile & | pool | ) | [inline] |
Definition at line 78 of file size_policies.hpp.
| 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.
| bool boost::threadpool::static_size< Pool >::resize | ( | size_t const | worker_count | ) | [inline] |
Definition at line 82 of file size_policies.hpp.
| void boost::threadpool::static_size< Pool >::task_finished | ( | ) | [inline] |
Definition at line 94 of file size_policies.hpp.
| void boost::threadpool::static_size< Pool >::task_scheduled | ( | ) | [inline] |
Definition at line 93 of file size_policies.hpp.
| 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.
reference_wrapper<Pool volatile> boost::threadpool::static_size< Pool >::m_pool [private] |
Definition at line 70 of file size_policies.hpp.