hpx/executors/restricted_thread_pool_executor.hpp#

Defined in header hpx/executors/restricted_thread_pool_executor.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace parallel
namespace execution

Typedefs

using restricted_thread_pool_executor = restricted_policy_executor<hpx::launch>#
template<typename Policy>
class restricted_policy_executor#

Public Types

using execution_category = typename embedded_executor::execution_category#

Associate the parallel_execution_tag executor tag type as a default with this executor.

using executor_parameters_type = typename embedded_executor::executor_parameters_type#

Public Functions

inline explicit restricted_policy_executor(std::size_t first_thread = 0, std::size_t num_threads = 1, threads::thread_priority priority = threads::thread_priority::default_, threads::thread_stacksize stacksize = threads::thread_stacksize::default_, threads::thread_schedule_hint schedulehint = {}, std::size_t hierarchical_threshold = hierarchical_threshold_default_)#

Create a new parallel executor.

inline restricted_policy_executor(restricted_policy_executor const &other)#
inline restricted_policy_executor &operator=(restricted_policy_executor const &rhs)#

Private Types

using embedded_executor = hpx::execution::parallel_policy_executor<Policy>#

Private Members

std::uint16_t first_thread_#
mutable std::atomic<std::size_t> os_thread_#
embedded_executor exec_#

Private Static Attributes

static constexpr std::size_t hierarchical_threshold_default_ = 6#