|
vitrio 0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
|
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. | |
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.