#include <inline_pool.hpp>
|
| | inline_pool ()=default |
| template<typename F, typename... Args> |
| auto | submit (F &&function, Args &&... args) -> result< std::future< detail::bind_result_t< F, Args... > > > |
| template<typename F, typename... Args> |
| auto | submit_or_throw (F &&function, Args &&... args) -> std::future< detail::bind_result_t< F, Args... > > |
| template<typename F, typename... Args> |
| auto | post (F &&function, Args &&... args) -> result< void > |
| template<typename F, typename... Args> |
| void | post_or_throw (F &&function, Args &&... args) |
| template<typename Iterator> |
| auto | submit_batch (Iterator begin, Iterator end) -> result< std::vector< std::future< void > > > |
| template<typename Iterator> |
| auto | submit_batch_or_throw (Iterator begin, Iterator end) -> std::vector< std::future< void > > |
| template<typename Iterator, typename Function> |
| auto | parallel_for_each (Iterator begin, Iterator end, Function &&function) -> result< void > |
| auto | wait () -> result< void > |
| auto | shutdown (shutdown_policy policy=shutdown_policy::drain) -> result< void > |
| auto | size () const noexcept -> std::size_t |
| auto | pending_tasks () const noexcept -> std::size_t |
Definition at line 20 of file inline_pool.hpp.
◆ inline_pool()
| threadschedule::advanced::inline_pool::inline_pool |
( |
| ) |
|
|
default |
◆ parallel_for_each()
template<typename Iterator, typename Function>
| auto threadschedule::advanced::inline_pool::parallel_for_each |
( |
Iterator | begin, |
|
|
Iterator | end, |
|
|
Function && | function )->result< void > |
|
inline |
◆ pending_tasks()
| auto threadschedule::advanced::inline_pool::pending_tasks |
( |
| ) |
const->std::size_t |
|
inlinenodiscardnoexcept |
◆ post()
template<typename F, typename... Args>
| auto threadschedule::advanced::inline_pool::post |
( |
F && | function, |
|
|
Args &&... | args )->result< void > |
|
inline |
◆ post_or_throw()
template<typename F, typename... Args>
| void threadschedule::advanced::inline_pool::post_or_throw |
( |
F && | function, |
|
|
Args &&... | args ) |
|
inline |
◆ shutdown()
◆ size()
| auto threadschedule::advanced::inline_pool::size |
( |
| ) |
const->std::size_t |
|
inlinenodiscardnoexcept |
◆ submit()
template<typename F, typename... Args>
| auto threadschedule::advanced::inline_pool::submit |
( |
F && | function, |
|
|
Args &&... | args )->result< std::future< detail::bind_result_t< F, Args... > > > |
|
inline |
◆ submit_batch()
template<typename Iterator>
| auto threadschedule::advanced::inline_pool::submit_batch |
( |
Iterator | begin, |
|
|
Iterator | end )->result< std::vector< std::future< void > > > |
|
inline |
◆ submit_batch_or_throw()
template<typename Iterator>
| auto threadschedule::advanced::inline_pool::submit_batch_or_throw |
( |
Iterator | begin, |
|
|
Iterator | end )->std::vector< std::future< void > > |
|
inline |
◆ submit_or_throw()
template<typename F, typename... Args>
| auto threadschedule::advanced::inline_pool::submit_or_throw |
( |
F && | function, |
|
|
Args &&... | args )->std::future< detail::bind_result_t< F, Args... > > |
|
inline |
◆ wait()
| auto threadschedule::advanced::inline_pool::wait |
( |
| ) |
->result< void > |
|
inline |
The documentation for this class was generated from the following file: