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

#include <tess/ops/phase_executor.h>

Public Member Functions

 ScopedThreadPhaseExecutor (std::size_t worker_count) noexcept
auto worker_count () const noexcept -> std::size_t
template<typename Fn>
auto for_each_operation (std::size_t first, std::size_t count, Fn &&fn) const -> PlannedExecutionResult

Detailed Description

Prototype executor that spawns and joins worker threads for each phase. Callback exceptions cancel unclaimed work and are rethrown after all already-running callbacks have joined. If callbacks throw concurrently, which exception is propagated is unspecified.


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