vitrio 0.3.1
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
vitrio::task Class Referenceabstract

One unit of work an executor can run. More...

#include <vitrio/concurrency/task.hpp>

Public Member Functions

 task (const task &other)=default
 task (task &&other)=default
task & operator= (const task &other)=default
task & operator= (task &&other)=default
virtual void run ()=0
 Run this unit of work.

Detailed Description

One unit of work an executor can run.

run is expected not to let an exception escape when submitted alongside a completion_notifier, since whichever executor runs it catches what it throws and reports it through that notifier instead.


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