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
class restricted_thread_pool_executor#

Public Types

typedef hpx::execution::parallel_execution_tag execution_category#

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

typedef hpx::execution::static_chunk_size executor_parameters_type#

Associate the static_chunk_size executor parameters type as a default with this executor.

Public Functions

inline restricted_thread_pool_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_thread_pool_executor(restricted_thread_pool_executor const &other)#

Private Members

threads::thread_pool_base *pool_ = nullptr#
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_#
std::size_t first_thread_#
std::size_t num_threads_#
std::atomic<std::size_t> os_thread_#

Private Static Attributes

static constexpr std::size_t hierarchical_threshold_default_ = 6#