tess 0.4.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::WorkerPoolPhaseExecutor Class Reference

#include <tess/ops/phase_executor.h>

Public Member Functions

 WorkerPoolPhaseExecutor (std::size_t worker_count)
 WorkerPoolPhaseExecutor (const WorkerPoolPhaseExecutor &)=delete
auto operator= (const WorkerPoolPhaseExecutor &) -> WorkerPoolPhaseExecutor &=delete
 WorkerPoolPhaseExecutor (WorkerPoolPhaseExecutor &&)=delete
auto operator= (WorkerPoolPhaseExecutor &&) -> WorkerPoolPhaseExecutor &=delete
auto worker_count () const noexcept -> std::size_t
void reserve_operations (std::size_t count) const
template<typename Fn>
auto for_each_operation (std::size_t first, std::size_t count, Fn &&fn) const -> PlannedExecutionResult

Detailed Description

Persistent prototype worker pool for allocation-free repeated dispatch. Callback exceptions are rethrown after join; callbacks must not re-enter the same pool. If callbacks throw concurrently, which exception is propagated is unspecified.


The documentation for this class was generated from the following file: