|
tess 0.4.0
Performance-first tile and path simulation substrate
|
#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 |
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.