#include <raw_thread_pool.hpp>
|
| | raw_thread_pool (worker_count count=worker_count::automatic(), worker_registration registration=worker_registration::disabled) |
| auto | configure_workers (thread_config const &config) -> result< void > |
| auto | distribute_workers () -> result< void > |
| auto | get_statistics () const -> pool_statistics |
| auto | is_current_worker () const noexcept -> bool |
| auto | parallel_for_each (Iterator begin, Iterator end, Function &&function) -> result< void > |
| auto | pending_tasks () const -> std::size_t |
| auto | post (F &&function, Args &&... args) -> result< void > |
| void | post_or_throw (F &&function, Args &&... args) |
| auto | shutdown (shutdown_policy policy=shutdown_policy::drain) -> result< void > |
| auto | shutdown_for (std::chrono::milliseconds timeout) -> result< bool > |
| auto | size () const noexcept -> std::size_t |
| auto | submit (F &&function, Args &&... args) -> result< std::future< bind_result_t< F, Args... > > > |
| auto | submit_batch (Iterator begin, Iterator end) -> result< std::vector< std::future< void > > > |
| auto | submit_batch_or_throw (Iterator begin, Iterator end) -> std::vector< std::future< void > > |
| auto | submit_or_throw (F &&function, Args &&... args) -> std::future< bind_result_t< F, Args... > > |
| auto | wait () -> result< void > |
Definition at line 8 of file raw_thread_pool.hpp.
◆ raw_thread_pool()
◆ configure_workers()
◆ distribute_workers()
◆ get_statistics()
◆ is_current_worker()
◆ parallel_for_each()
◆ pending_tasks()
◆ post()
◆ post_or_throw()
◆ shutdown()
◆ shutdown_for()
◆ size()
◆ submit()
◆ submit_batch()
◆ submit_batch_or_throw()
◆ submit_or_throw()
◆ wait()
The documentation for this class was generated from the following file: