libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
A specialisation for sequential "threading", i.e. everything runs on the main thread. More...
#include <thread_pool.hpp>
Classes | |
class | accumulate_op_processor |
A modifier to allow joinably transferring the work to the pool. More... | |
struct | accumulate_processor |
A modifier to allow joinably transferring the work to the pool. More... | |
struct | algo_hack_stack_t |
A modifier to allow joinably transferring the work to the pool. More... | |
struct | algo_hack_t |
A modifier to allow joinably transferring the work to the pool. More... | |
class | count_if_t |
A modifier to allow joinably transferring the work to the pool. More... | |
class | count_t |
A modifier to allow joinably transferring the work to the pool. More... | |
struct | create_direct |
Used by the library to implicitly generate a closure from the InpWk type. More... | |
class | execution_context_algo_stack |
class | execution_context_stack |
This is a useful typedef to get at the execution_context. More... | |
class | find_if_t |
A modifier to allow joinably transferring the work to the pool. More... | |
struct | find_t |
A modifier to allow joinably transferring the work to the pool. More... | |
class | max_element_t |
A modifier to allow joinably transferring the work to the pool. More... | |
struct | merge_t |
A modifier to allow joinably transferring the work to the pool. More... | |
class | min_element_t |
A modifier to allow joinably transferring the work to the pool. More... | |
struct | priority |
struct | sort_t |
A modifier to allow joinably transferring the work to the pool. More... | |
struct | void_work |
Public Types | |
using | pool_traits_type = P |
using | pool_type = std::vector< fake_thread * > |
A hack to give us a size_type member-typedef. More... | |
using | work_distribution_mode = DM |
using | signalled_work_queue_type = typename pool_traits_type::template signalled_work_queue_type< typename work_distribution_mode::queue_model > |
using | queue_size_type = typename signalled_work_queue_type::size_type |
typedef pool_type::size_type | pool_size_type |
using | statistics_type = typename pool_traits_type::template statistics_type< typename work_distribution_mode::queue_model > |
Just stub statistics - to support the interface. No actual statistics are collected. More... | |
typedef pool_traits_type::cfg_type | cfg_type |
The type of the control-flow graph that will be generated at run-time, if supported. More... | |
typedef pool_traits_type::os_traits | os_traits |
A useful typedef to easily get to the various OS traits. More... | |
typedef os_traits::exception_type | exception_type |
typedef os_traits::thread_traits | thread_traits |
A useful typedef to easily get to the various OS specific thread-traits. More... | |
typedef thread_traits::api_params_type | api_params_type |
A useful typedef to easily get to the various API details. More... | |
typedef api_params_type::priority_type | priority_type |
A useful typedef to easily get to the various priorities. More... | |
typedef private_::nonjoinable_t< sequential_pool > | nonjoinable |
A useful typedef to easily get to the nonjoinable grammar element. More... | |
typedef private_::joinable_t< sequential_pool > | joinable |
A useful typedef to easily get to the joinable grammar element. More... | |
typedef private_::nonjoinable_buff_t< sequential_pool > | nonjoinable_buff |
A useful typedef to easily get to the nonjoinable_buff grammar element. More... | |
typedef execution_context_stack< void_work > | void_exec_cxt |
typedef private_::stl_functor_result_type< bool > | boolean_result_type |
Public Member Functions | |
constexpr __stdcall | sequential_pool () noexcept(true) FORCE_INLINE |
__stdcall | sequential_pool (pool_size_type sz) noexcept(true) FORCE_INLINE |
sequential_pool (sequential_pool const &)=delete | |
__stdcall | ~sequential_pool () FORCE_INLINE |
constexpr pool_size_type __fastcall | pool_size () const noexcept(true) FORCE_INLINE |
A stub just for compatibility. Always returns "0". More... | |
statistics_type const &__fastcall | statistics () const noexcept(true) FORCE_INLINE |
A stub just for compatibility. More... | |
template<class Colln , class Fn > | |
parallel_algorithm< algo_hack_stack_t > __fastcall FORCE_INLINE | for_each (Colln const &c, Fn const &fn) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class Colln , typename Pred > | |
parallel_algorithm< count_if_t< Colln, Pred > > __fastcall FORCE_INLINE | count_if (Colln &c, Pred const &p) const |
template<class Colln > | |
parallel_algorithm< count_t< Colln > > __fastcall FORCE_INLINE | count (Colln &c, typename Colln::value_type const &v) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class Colln , class Pred > | |
parallel_algorithm< find_if_t< Colln, Pred > > __fastcall FORCE_INLINE | find_if (Colln const &c, Pred const &p) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class Colln > | |
parallel_algorithm< find_t< Colln > > __fastcall FORCE_INLINE | find (Colln const &c, typename Colln::value_type const &v) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<typename CollnIn , typename CollnOut , class UniOp > | |
parallel_algorithm< algo_hack_stack_t > FORCE_INLINE | transform (CollnIn const &in, CollnOut &out, UniOp const &op) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<typename CollnIn1 , typename CollnIn2 , typename CollnOut , class BinOp > | |
parallel_algorithm< algo_hack_stack_t > FORCE_INLINE | transform (CollnIn1 const &in1, CollnIn2 const &in2, CollnOut &out, BinOp const &op) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<typename CollnIn , typename CollnOut > | |
parallel_algorithm< algo_hack_stack_t > FORCE_INLINE | copy (CollnIn const &in, CollnOut &out) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class Colln , typename BinOp > | |
parallel_algorithm< accumulate_op_processor< Colln, BinOp > > __fastcall FORCE_INLINE | accumulate (Colln const &c, typename BinOp::result_type const &v, BinOp const &binop) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class Colln , class V > | |
parallel_algorithm< accumulate_processor< Colln, V > > __fastcall FORCE_INLINE | accumulate (Colln const &c, V const &v) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class Colln > | |
parallel_algorithm< algo_hack_stack_t > FORCE_INLINE | fill_n (Colln &c, typename Colln::size_type sz, typename Colln::value_type const &v) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class Colln > | |
parallel_algorithm< algo_hack_stack_t > FORCE_INLINE | fill (Colln &c, typename Colln::value_type const &v) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<typename Colln > | |
parallel_algorithm< algo_hack_stack_t > FORCE_INLINE | reverse (Colln &c) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class Colln , class Comp > | |
parallel_algorithm< max_element_t< Colln, Comp > > __fastcall FORCE_INLINE | max_element (Colln const &c, Comp const &comp) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<typename Colln > | |
parallel_algorithm< max_element_t< Colln, std::less< typename Colln::value_type > > > __fastcall FORCE_INLINE | max_element (Colln const &c) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class Colln , class Comp > | |
parallel_algorithm< min_element_t< Colln, Comp > > __fastcall FORCE_INLINE | min_element (Colln const &c, Comp const &comp) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<typename Colln > | |
parallel_algorithm< min_element_t< Colln, std::less< typename Colln::value_type > > > __fastcall FORCE_INLINE | min_element (Colln const &c) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<typename Colln , class Compare > | |
parallel_algorithm< algo_hack_stack_t > FORCE_INLINE | sort (Colln &c, Compare const &comp) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<typename Colln > | |
parallel_algorithm< algo_hack_stack_t > FORCE_INLINE | sort (Colln &c) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<typename CollnIn1 , typename CollnIn2 , typename CollnOut , class Compare > | |
parallel_algorithm< algo_hack_stack_t > FORCE_INLINE | merge (CollnIn1 const &in1, CollnIn2 const &in2, CollnOut &out, Compare const &comp) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<typename CollnIn1 , typename CollnIn2 , typename CollnOut > | |
parallel_algorithm< algo_hack_stack_t > FORCE_INLINE | merge (CollnIn1 const &in1, CollnIn2 const &in2, CollnOut &out) const |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class ArgT , class UniFn > | |
execution_context_stack< typename private_::unary_fun_work_type< ArgT, UniFn, sequential_pool > > FORCE_INLINE | unary_fun (ArgT &&a, UniFn const &op=UniFn()) |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class LHSArg , class RHSArg , class BinFn > | |
execution_context_stack< typename private_::binary_fun_work_type< LHSArg, RHSArg, BinFn, sequential_pool > > FORCE_INLINE | binary_fun (LHSArg &&lhs, RHSArg &&rhs, BinFn const &op=BinFn()) |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class T > | |
execution_context_stack< typename private_::binary_fun_work_type< T, T, std::logical_and< bool >, sequential_pool > > FORCE_INLINE | logical_and (T &&lhs, T &&rhs) |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
template<class T > | |
execution_context_stack< typename private_::binary_fun_work_type< T, T, std::logical_or< bool >, sequential_pool > > FORCE_INLINE | logical_or (T &&lhs, T &&rhs) |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version. More... | |
nonjoinable __fastcall | operator<< (nonjoinable &&nj) noexcept(true) FORCE_INLINE |
Non-joinably transfer the closure_base-derived closure into the thread_pool. More... | |
nonjoinable_buff __fastcall | operator<< (nonjoinable_buff &&njb) noexcept(true) FORCE_INLINE |
Non-joinably transfer the closure_base-derived closure into the thread_pool. More... | |
joinable_t< sequential_pool > __fastcall | operator<< (joinable_t< sequential_pool > &&j) noexcept(true) FORCE_INLINE |
Joinably transfer the closure_base-derived closure into the thread_pool. More... | |
cfg_type & | cfg () noexcept(true) FORCE_INLINE |
Access the control-flow graph, if supported. More... | |
cfg_type const & | cfg () const noexcept(true) FORCE_INLINE |
Access the control-flow graph, if supported. More... | |
Static Public Member Functions | |
static constexpr bool __fastcall | pool_empty () noexcept(true) FORCE_INLINE |
A stub just for compatibility. Always returns "true". More... | |
static constexpr bool __fastcall | queue_empty () noexcept(true) FORCE_INLINE |
A stub just for compatibility. Always returns "true". More... | |
static constexpr pool_size_type __fastcall | queue_size () noexcept(true) FORCE_INLINE |
A stub just for compatibility. Always returns "0". More... | |
static void __fastcall | queue_clear () noexcept(true) FORCE_INLINE |
A stub just for compatibility. Always returns "0". More... | |
static constexpr unsigned long __fastcall | min_time (generic_traits::memory_access_modes) noexcept(true) FORCE_INLINE |
Return the theoretical minimum time in computations required to complete the current work. More... | |
template<class T > | |
static constexpr unsigned long __fastcall FORCE_INLINE | min_time (T) noexcept(true) |
static constexpr unsigned long __fastcall | min_processors (generic_traits::memory_access_modes) noexcept(true) FORCE_INLINE |
Return the theoretical minimum number of processors required to achieve the minimum computation time required to complete the current work. More... | |
template<class T > | |
static constexpr unsigned long __fastcall FORCE_INLINE | min_processors (T) noexcept(true) |
Static Public Attributes | |
static const pool_traits::size_mode_t | size_mode =Ps |
Friends | |
template<class TPB > | |
class | joinable_t |
template<class TPB > | |
class | nonjoinable_t |
template<class TPB > | |
class | nonjoinable_buff_t |
template<template< class > class Joinability, class TPB , typename TPB::priority_type Pri> | |
class | priority_t |
template<class DM1 , generic_traits::return_data RD, class TPB , class Wk > | |
class | execution_context_stack_type |
template<class DM1 , generic_traits::return_data RD, class TPB , template< class, class, template< class > class, template< class > class > class CoreWk, class AlgoWrapT , class Wk > | |
class | execution_context_algo_stack_type |
template<generic_traits::return_data RD, class TPB , template< class > class Del, template< class > class AtCtr> | |
class | horizontal_execution |
tostream &__fastcall | operator<< (tostream &os, sequential_pool const &t) FORCE_INLINE |
A specialisation for sequential "threading", i.e. everything runs on the main thread.
So that the use can make use of the thread library, and automatically switch between real threading and sequential mode without changing their user code apart from some simple typedefs.
Definition at line 81 of file thread_pool.hpp.
typedef thread_traits::api_params_type jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::api_params_type |
A useful typedef to easily get to the various API details.
Definition at line 106 of file thread_pool.hpp.
typedef private_::stl_functor_result_type<bool> jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::boolean_result_type |
Definition at line 239 of file thread_pool.hpp.
typedef pool_traits_type::cfg_type jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::cfg_type |
The type of the control-flow graph that will be generated at run-time, if supported.
Definition at line 99 of file thread_pool.hpp.
typedef os_traits::exception_type jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::exception_type |
Definition at line 102 of file thread_pool.hpp.
typedef private_::joinable_t<sequential_pool> jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::joinable |
A useful typedef to easily get to the joinable grammar element.
Definition at line 121 of file thread_pool.hpp.
typedef private_::nonjoinable_t<sequential_pool> jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::nonjoinable |
A useful typedef to easily get to the nonjoinable grammar element.
Definition at line 116 of file thread_pool.hpp.
typedef private_::nonjoinable_buff_t<sequential_pool> jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::nonjoinable_buff |
A useful typedef to easily get to the nonjoinable_buff grammar element.
Definition at line 126 of file thread_pool.hpp.
typedef pool_traits_type::os_traits jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::os_traits |
A useful typedef to easily get to the various OS traits.
Definition at line 101 of file thread_pool.hpp.
typedef pool_type::size_type jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::pool_size_type |
Definition at line 92 of file thread_pool.hpp.
using jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::pool_traits_type = P |
Definition at line 86 of file thread_pool.hpp.
using jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::pool_type = std::vector<fake_thread *> |
A hack to give us a size_type member-typedef.
Definition at line 88 of file thread_pool.hpp.
typedef api_params_type::priority_type jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::priority_type |
A useful typedef to easily get to the various priorities.
Definition at line 108 of file thread_pool.hpp.
using jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::queue_size_type = typename signalled_work_queue_type::size_type |
Definition at line 91 of file thread_pool.hpp.
using jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::signalled_work_queue_type = typename pool_traits_type::template signalled_work_queue_type<typename work_distribution_mode::queue_model> |
Definition at line 90 of file thread_pool.hpp.
using jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::statistics_type = typename pool_traits_type::template statistics_type<typename work_distribution_mode::queue_model> |
Just stub statistics - to support the interface. No actual statistics are collected.
Definition at line 94 of file thread_pool.hpp.
typedef os_traits::thread_traits jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::thread_traits |
A useful typedef to easily get to the various OS specific thread-traits.
Definition at line 104 of file thread_pool.hpp.
typedef execution_context_stack<void_work> jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::void_exec_cxt |
Definition at line 203 of file thread_pool.hpp.
using jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::work_distribution_mode = DM |
Definition at line 89 of file thread_pool.hpp.
|
inlineconstexprnoexcept |
Definition at line 524 of file thread_pool.hpp.
|
inlineexplicitnoexcept |
Definition at line 527 of file thread_pool.hpp.
|
delete |
|
inline |
Definition at line 532 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection. |
v | The initial value. |
binop | The binary operation to use. |
Definition at line 775 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection. |
v | The initial value. |
Definition at line 794 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
Definition at line 1037 of file thread_pool.hpp.
|
inlinenoexcept |
Access the control-flow graph, if supported.
Definition at line 1112 of file thread_pool.hpp.
|
inlinenoexcept |
Access the control-flow graph, if supported.
Definition at line 1108 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
in | A collection. |
out | Another collection. |
Definition at line 748 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection. |
v | The value to find and be counted. |
Definition at line 632 of file thread_pool.hpp.
|
inline |
c | A collection. |
p | The predicate to use to count the matching values. |
Definition at line 614 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection to be filled. |
v | The value used to copy into the collection. |
Definition at line 830 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection to be filled. |
sz | The number of items to place into the collection. |
v | The value used to copy into the collection. |
Definition at line 811 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection. |
v | The value to be found. |
Definition at line 669 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection. |
p | The predicate to use to find the matching value. |
Definition at line 651 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection. |
fn | A unary_function-type that need not be thread-safe, nor support reentrancy, but should not have side-effects, but in other respects the same as for std::for_each(). |
Definition at line 595 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
Definition at line 1048 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
Definition at line 1057 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection. |
Definition at line 885 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection. |
comp | The comparator to use to compare the items. |
Definition at line 868 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
in1 | The first collection. |
in2 | The second collection. |
out | Another collection. |
Definition at line 1014 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
in1 | The first collection. |
in2 | The second collection. |
out | Another collection. |
comp | The comparison operator. |
Definition at line 980 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection. |
Definition at line 919 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection. |
comp | The comparator to use to compare the items. |
Definition at line 902 of file thread_pool.hpp.
|
inlinestaticconstexprnoexcept |
Return the theoretical minimum number of processors required to achieve the minimum computation time required to complete the current work.
Definition at line 574 of file thread_pool.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 579 of file thread_pool.hpp.
|
inlinestaticconstexprnoexcept |
Return the theoretical minimum time in computations required to complete the current work.
Definition at line 563 of file thread_pool.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 568 of file thread_pool.hpp.
|
inlinenoexcept |
Joinably transfer the closure_base-derived closure into the thread_pool.
Definition at line 1091 of file thread_pool.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::joinable_t.
|
inlinenoexcept |
Non-joinably transfer the closure_base-derived closure into the thread_pool.
Definition at line 1067 of file thread_pool.hpp.
|
inlinenoexcept |
Non-joinably transfer the closure_base-derived closure into the thread_pool.
njb | Initialised with a suitable buffer for allocating the internal work items into. |
Definition at line 1080 of file thread_pool.hpp.
|
inlinestaticconstexprnoexcept |
A stub just for compatibility. Always returns "true".
Definition at line 536 of file thread_pool.hpp.
|
inlineconstexprnoexcept |
A stub just for compatibility. Always returns "0".
Definition at line 540 of file thread_pool.hpp.
|
inlinestaticnoexcept |
A stub just for compatibility. Always returns "0".
Definition at line 553 of file thread_pool.hpp.
|
inlinestaticconstexprnoexcept |
A stub just for compatibility. Always returns "true".
Definition at line 544 of file thread_pool.hpp.
|
inlinestaticconstexprnoexcept |
A stub just for compatibility. Always returns "0".
Definition at line 548 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | A collection to be filled. |
Definition at line 847 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | The collection to be sorted. |
Definition at line 959 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
c | The collection to be sorted. |
comp | The comparison operator. |
Definition at line 936 of file thread_pool.hpp.
|
inlinenoexcept |
A stub just for compatibility.
Definition at line 557 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
in | A collection. |
out | Another collection. |
op | The unary operator to apply to each element of in the output placed into out. |
Definition at line 690 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
in1 | The first collection. |
in2 | The second collection. |
out | Another collection. |
op | The unary operator to apply to each element of in the output placed into out. |
Definition at line 721 of file thread_pool.hpp.
|
inline |
This just forwards to the STL algorithm of the same name, for compatibility with the parallel version.
Definition at line 1024 of file thread_pool.hpp.
|
friend |
Definition at line 1122 of file thread_pool.hpp.
|
friend |
Definition at line 1121 of file thread_pool.hpp.
|
friend |
Definition at line 1123 of file thread_pool.hpp.
|
friend |
Definition at line 1117 of file thread_pool.hpp.
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::joinable_t< TPB >::operator<<(), jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::sequential_pool< DM, Ps, P >::operator<<(), and jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::thread_pool_base< DM, Ps, PTT, Pt >::operator<<().
|
friend |
Definition at line 1119 of file thread_pool.hpp.
|
friend |
Definition at line 1118 of file thread_pool.hpp.
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::nonjoinable_t< TPB >::operator<<().
|
friend |
Definition at line 1099 of file thread_pool.hpp.
|
friend |
Definition at line 1120 of file thread_pool.hpp.
|
static |
Definition at line 110 of file thread_pool.hpp.