summaryrefslogtreecommitdiffstats
path: root/async/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2014-12-14 12:59:22 +0100
committerDan Vrátil <dvratil@redhat.com>2014-12-14 13:03:38 +0100
commit664396b0e550910cea50b7852066a04cc7fec3bd (patch)
tree544f9e8206bd498fd16047211a833d01d65ac864 /async/src/CMakeLists.txt
parent925d3bd3159820c0eae356fe4d3af54cb16ae1e3 (diff)
downloadsink-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.txt3
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 @@
1include_directories(${CMAKE_CURRENT_BINARY_DIR})
2
1set(async_SRCS 3set(async_SRCS
2 async.cpp 4 async.cpp
5 future.cpp
3) 6)
4 7
5add_library(akonadi2async SHARED ${async_SRCS}) 8add_library(akonadi2async SHARED ${async_SRCS})