diff options
author | Dan Vrátil <dvratil@redhat.com> | 2014-12-11 15:55:18 +0100 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2014-12-11 15:55:18 +0100 |
commit | c30e9145049c52feb2de719307ebbfee0650f01b (patch) | |
tree | 6896823401fb174c0f396ec30eae6257d32f8a41 /async/src/future.h | |
parent | 1aee1bda9fc81c888ad18fea107c271133dd5442 (diff) | |
download | sink-c30e9145049c52feb2de719307ebbfee0650f01b.tar.gz sink-c30e9145049c52feb2de719307ebbfee0650f01b.zip |
Async: move the actual task exection into Executor implementation
As of now, Job is only front interface to a chain of Executor subclasses. Each
Executor subclass specializes for given type of execution (then, each, reduce, ...),
and the chain is then executed recursively, as we did with the original Job
implementation.
Diffstat (limited to 'async/src/future.h')
-rw-r--r-- | async/src/future.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/async/src/future.h b/async/src/future.h index c53ef56..eb3de1e 100644 --- a/async/src/future.h +++ b/async/src/future.h | |||
@@ -31,6 +31,8 @@ class FutureBase | |||
31 | public: | 31 | public: |
32 | FutureBase(); | 32 | FutureBase(); |
33 | FutureBase(const FutureBase &other); | 33 | FutureBase(const FutureBase &other); |
34 | virtual ~FutureBase(); | ||
35 | |||
34 | void setFinished(); | 36 | void setFinished(); |
35 | bool isFinished() const; | 37 | bool isFinished() const; |
36 | void waitForFinished(); | 38 | void waitForFinished(); |