thread_executors

The contents of this module can be included with the header hpx/modules/thread_executors.hpp. These headers may be used by user-code but are not guaranteed stable (neither header location nor contents). You are using these at your own risk. If you wish to use non-public functionality from a module we strongly suggest only including the module header hpx/modules/thread_executors.hpp, not the particular header in which the functionality you would like to use is defined. See Public API for a list of names that are part of the public HPX API.

Header hpx/execution/executors/default_executor.hpp

namespace hpx
namespace parallel
namespace execution

Typedefs

using default_executor = parallel_executor

Header hpx/execution/executors/this_thread_executors.hpp

Header hpx/execution/executors/thread_pool_executors.hpp

Header hpx/execution/executors/thread_pool_os_executors.hpp

Header hpx/thread_executors/current_executor.hpp

Header hpx/thread_executors/default_executor.hpp

Header hpx/thread_executors/embedded_thread_pool_executors.hpp

Header hpx/thread_executors/executors.hpp

Header hpx/thread_executors/guided_pool_executor.hpp

Header hpx/thread_executors/limiting_executor.hpp

Header hpx/thread_executors/manage_thread_executor.hpp

Header hpx/thread_executors/resource_manager.hpp

Header hpx/thread_executors/this_thread_executors.hpp

Header hpx/thread_executors/thread_execution.hpp

Header hpx/thread_executors/thread_execution_information.hpp

namespace hpx

Functions

std::size_t get_os_thread_count(threads::executor const &exec)
namespace threads

Functions

template<typename Executor, typename Parameters>
std::enable_if<hpx::traits::is_threads_executor<Executor>::value, std::size_t>::type processing_units_count(Parameters&&, Executor &&exec)
template<typename Executor>
std::enable_if<hpx::traits::is_threads_executor<Executor>::value, bool>::type has_pending_closures(Executor &&exec)
template<typename Executor>
std::enable_if<hpx::traits::is_threads_executor<Executor>::value, threads::mask_cref_type>::type get_pu_mask(Executor &&exec, threads::topology &topo, std::size_t thread_num)
template<typename Executor, typename Mode>
std::enable_if<hpx::traits::is_threads_executor<Executor>::value>::type set_scheduler_mode(Executor &&exec, Mode mode)

Header hpx/thread_executors/thread_executor.hpp

Header hpx/thread_executors/thread_pool_attached_executors.hpp

Header hpx/thread_executors/thread_pool_os_executors.hpp

Header hpx/thread_executors/thread_timed_execution.hpp

namespace hpx
namespace threads

Functions

template<typename Executor, typename F, typename ...Ts>
std::enable_if<hpx::traits::is_threads_executor<Executor>::value>::type post_at(Executor &&exec, hpx::util::steady_time_point const &abs_time, F &&f, Ts&&... ts)
template<typename Executor, typename F, typename ...Ts>
std::enable_if<hpx::traits::is_threads_executor<Executor>::value>::type post_after(Executor &&exec, hpx::util::steady_duration const &rel_time, F &&f, Ts&&... ts)
template<typename Executor, typename F, typename ...Ts>
std::enable_if<hpx::traits::is_threads_executor<Executor>::value, hpx::future<typename hpx::util::detail::invoke_deferred_result<F, Ts...>::type>>::type async_execute_at(Executor &&exec, hpx::util::steady_time_point const &abs_time, F &&f, Ts&&... ts)
template<typename Executor, typename F, typename ...Ts>
std::enable_if<hpx::traits::is_threads_executor<Executor>::value, hpx::future<typename hpx::util::detail::invoke_deferred_result<F, Ts...>::type>>::type async_execute_after(Executor &&exec, hpx::util::steady_duration const &rel_time, F &&f, Ts&&... ts)
template<typename Executor, typename F, typename ...Ts>
std::enable_if<hpx::traits::is_threads_executor<Executor>::value, typename hpx::util::detail::invoke_deferred_result<F, Ts...>::type>::type sync_execute_at(Executor &&exec, hpx::util::steady_time_point const &abs_time, F &&f, Ts&&... ts)
template<typename Executor, typename F, typename ...Ts>
std::enable_if<hpx::traits::is_threads_executor<Executor>::value, typename hpx::util::detail::invoke_deferred_result<F, Ts...>::type>::type sync_execute_after(Executor &&exec, hpx::util::steady_duration const &rel_time, F &&f, Ts&&... ts)