|
ThreadSchedule 3.0.0
Modern C++ thread management library
|
#include <global_work_stealing_pool.hpp>
Static Public Member Functions | |
| static void | init (worker_count count) |
| template<typename F , typename... Args> | |
| static auto | submit (F &&function, Args &&... args) -> result< std::future< detail::bind_result_t< F, Args... > > > |
| template<typename F , typename... Args> | |
| static auto | submit_or_throw (F &&function, Args &&... args) -> std::future< detail::bind_result_t< F, Args... > > |
| template<typename F , typename... Args> | |
| static auto | post (F &&function, Args &&... args) -> result< void > |
| template<typename F , typename... Args> | |
| static void | post_or_throw (F &&function, Args &&... args) |
Definition at line 15 of file global_work_stealing_pool.hpp.
|
inlinestatic |
Definition at line 19 of file global_work_stealing_pool.hpp.
References threadschedule::detail::global_pool_backend< PoolType >::init(), and threadschedule::worker_count::resolve().
|
inlinestatic |
Definition at line 40 of file global_work_stealing_pool.hpp.
References threadschedule::detail::global_pool_backend< PoolType >::try_post().
Referenced by post_or_throw().
|
inlinestatic |
Definition at line 46 of file global_work_stealing_pool.hpp.
References post().
|
inlinestatic |
Definition at line 25 of file global_work_stealing_pool.hpp.
References threadschedule::detail::global_pool_backend< PoolType >::try_submit().
Referenced by submit_or_throw().
|
inlinestatic |
Definition at line 31 of file global_work_stealing_pool.hpp.
References submit().