tess 1.0.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::ResumableWorkTask< T > Class Template Reference

#include <tess/sim/async_work_task.h>

Public Member Functions

 ResumableWorkTask (ResumableWorkQueue< T > &queue) noexcept
 ResumableWorkTask (const ResumableWorkTask &)=delete
auto operator= (const ResumableWorkTask &) -> ResumableWorkTask &=delete
 ResumableWorkTask (ResumableWorkTask &&)=delete
auto operator= (ResumableWorkTask &&) -> ResumableWorkTask &=delete
auto operator() (const ScheduleTaskContext &context) -> ScheduleTaskResult

Detailed Description

template<typename T>
class tess::ResumableWorkTask< T >

Adapts a cooperative result queue to a scheduler Background task.

A Background task disarms after the queue reports no pending work. Submitting a later ticket does not notify the scheduler; the caller must call Schedule::request_run(task_id) to re-arm that registered task.


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