libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
A modifier to allow joinably transferring the work to the pool. More...
#include <thread_pool.hpp>
Public Types | |
typedef BinOp | operation_type |
typedef operation_type::result_type | accumulated_res_t |
typedef execution_context_algo_stack< accumulated_res_t > | execution_context |
Public Member Functions | |
accumulate_op_processor (Colln const &c, accumulated_res_t const &v, operation_type const &op) noexcept(true) FORCE_INLINE | |
execution_context __fastcall | process (cliques::element_type, typename pool_traits_type::thread_wk_elem_type::cfg_details_type::params const &) const FORCE_INLINE |
Joinably transfer the predicate to the pool. More... | |
A modifier to allow joinably transferring the work to the pool.
Definition at line 436 of file thread_pool.hpp.
typedef operation_type::result_type jmmcg::ppd::private_::sequential_pool< DM, Ps, P >::accumulate_op_processor< Colln, BinOp >::accumulated_res_t |
Definition at line 439 of file thread_pool.hpp.
typedef execution_context_algo_stack<accumulated_res_t> jmmcg::ppd::private_::sequential_pool< DM, Ps, P >::accumulate_op_processor< Colln, BinOp >::execution_context |
Definition at line 440 of file thread_pool.hpp.
typedef BinOp jmmcg::ppd::private_::sequential_pool< DM, Ps, P >::accumulate_op_processor< Colln, BinOp >::operation_type |
Definition at line 438 of file thread_pool.hpp.
|
inlinenoexcept |
c | The adapted collection to iterate over. |
v | The value with which the accumulate operation should be initialised. |
op | The binary operation to uses to accumulate the result. |
Definition at line 447 of file thread_pool.hpp.
|
inline |
Joinably transfer the predicate to the pool.
Definition at line 457 of file thread_pool.hpp.