summaryrefslogtreecommitdiffstats
path: root/async/src/async.h
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2015-04-03 18:17:12 +0200
committerDan Vrátil <dvratil@redhat.com>2015-04-04 20:44:17 +0200
commit27bc3300d670d65b9c5332308605ef8263c3939c (patch)
tree038ced028bc2af9f600250feff845c9d4f936c54 /async/src/async.h
parent160255f96e46818b6df63b00f17f502df9ab0a79 (diff)
downloadsink-27bc3300d670d65b9c5332308605ef8263c3939c.tar.gz
sink-27bc3300d670d65b9c5332308605ef8263c3939c.zip
Async: implement progress reporting through future
This is a simplified progress reporting, since it does not report progress of ther overcall Job chain, but only of individual tasks, which makes it only really useful on one-task Jobs. TODO: propagate subjob progress to the Future user gets copy of TODO: compound progress reporting (be able to report a progress of the overall Job chain)
Diffstat (limited to 'async/src/async.h')
-rw-r--r--async/src/async.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/async/src/async.h b/async/src/async.h
index 6cb3825..c316639 100644
--- a/async/src/async.h
+++ b/async/src/async.h
@@ -56,7 +56,7 @@
56 * valid until the task is complete. To abort a job it has to be killed through the future handle. 56 * valid until the task is complete. To abort a job it has to be killed through the future handle.
57 * TODO: Can we tie the lifetime of the executor to the last available future handle? 57 * TODO: Can we tie the lifetime of the executor to the last available future handle?
58 * 58 *
59 * TODO: Progress reporting through future 59 * TODO: Composed progress reporting
60 * TODO: Possibility to abort a job through future (perhaps optional?) 60 * TODO: Possibility to abort a job through future (perhaps optional?)
61 * TODO: Support for timeout, specified during exec call, after which the error handler gets called with a defined errorCode. 61 * TODO: Support for timeout, specified during exec call, after which the error handler gets called with a defined errorCode.
62 */ 62 */