The Gaudi Framework
v29r0 (ff2e7097)
|
SizePolicyController which allows resizing. More...
#include <src/threadpool/boost/threadpool/size_policies.hpp>
Public Member Functions | |
resize_controller (size_policy_type &policy, shared_ptr< Pool > pool) | |
bool | resize (size_t worker_count) |
Private Types | |
typedef Pool::size_policy_type | size_policy_type |
Private Attributes | |
reference_wrapper< size_policy_type > | m_policy |
shared_ptr< Pool > | m_pool |
to make sure that the pool is alive (the policy pointer is valid) as long as the controller exists More... | |
SizePolicyController which allows resizing.
Pool | The pool's core type. |
Definition at line 43 of file size_policies.hpp.
|
private |
Definition at line 45 of file size_policies.hpp.
|
inline |
Definition at line 50 of file size_policies.hpp.
|
inline |
Definition at line 56 of file size_policies.hpp.
|
private |
Definition at line 46 of file size_policies.hpp.
|
private |
to make sure that the pool is alive (the policy pointer is valid) as long as the controller exists
Definition at line 47 of file size_policies.hpp.