diff options
author | Dan Vrátil <dvratil@redhat.com> | 2014-12-14 12:59:22 +0100 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2014-12-14 13:03:38 +0100 |
commit | 664396b0e550910cea50b7852066a04cc7fec3bd (patch) | |
tree | 544f9e8206bd498fd16047211a833d01d65ac864 /async/src/CMakeLists.txt | |
parent | 925d3bd3159820c0eae356fe4d3af54cb16ae1e3 (diff) | |
download | sink-664396b0e550910cea50b7852066a04cc7fec3bd.tar.gz sink-664396b0e550910cea50b7852066a04cc7fec3bd.zip |
Async: make the processing truly asynchronous
Now calling exec() starts the first job and returns a pending Future immediately. Caller
can then use Async::FutureWatcher to wait for the future to become finished, i.e. for all
jobs to finish execution.
Diffstat (limited to 'async/src/CMakeLists.txt')
-rw-r--r-- | async/src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/async/src/CMakeLists.txt b/async/src/CMakeLists.txt index a98d8ce..a371da0 100644 --- a/async/src/CMakeLists.txt +++ b/async/src/CMakeLists.txt | |||
@@ -1,5 +1,8 @@ | |||
1 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
2 | |||
1 | set(async_SRCS | 3 | set(async_SRCS |
2 | async.cpp | 4 | async.cpp |
5 | future.cpp | ||
3 | ) | 6 | ) |
4 | 7 | ||
5 | add_library(akonadi2async SHARED ${async_SRCS}) | 8 | add_library(akonadi2async SHARED ${async_SRCS}) |