35 [[nodiscard]] std::string_view
name() const noexcept override;
Strategy interface that executes dispatch/tick across dispatcher lanes.
A result type that holds either a success value of type T or an ErrorCode.
std::unique_ptr< Impl > impl_
SerialDispatchRuntime(SerialDispatchRuntime &&) noexcept
Move-constructs serial runtime state.
SerialDispatchRuntime(HostThreadingConfig config={})
Constructs serial runtime with runtime-owned config.
const HostThreadingConfig & config() const noexcept override
Returns runtime-owned threading config.
std::string_view name() const noexcept override
Returns runtime implementation name.
~SerialDispatchRuntime() override
Destroys serial runtime.
void tick(const DispatcherLanes &lanes) override
Ticks all lanes serially.
Result< void > dispatch(const DispatcherLanes &lanes, std::size_t tickBudget) override
Runs one serial dispatch pass across all lanes.
SerialDispatchRuntime & operator=(const SerialDispatchRuntime &)=delete
Copy assignment is disabled.
SerialDispatchRuntime(const SerialDispatchRuntime &)=delete
Copy construction is disabled.
Runtime strategy interface for dispatching across dispatcher lanes.
std::vector< std::reference_wrapper< IDispatcher > > DispatcherLanes
Alias for the dispatcher lanes controlled by a runtime.
Configuration for host-thread dispatch runtime behavior.