Closed wweic closed 11 years ago
There's only a synchronous engine yet, so we don't need a scheduler, right?
@thinxer yes, asyn engine
is not impled.
Here's a fix to cmake files.
diff --git a/src/saedb/util/CMakeLists.txt b/src/saedb/util/CMakeLists.txt index 8e4a27c..962ffaf 100644 --- a/src/saedb/util/CMakeLists.txt +++ b/src/saedb/util/CMakeLists.txt @@ -6,8 +6,11 @@ set(THREADPOOL_LIBRARY_SOURCES "thread_pool.cpp" )
+find_package(Threads REQUIRED) + add_library(thread_pool ${THREADPOOL_LIBRARY_SOURCES}) +target_link_libraries(thread_pool ${CMAKE_THREAD_LIBS_INIT}) add_executable(threading_test threadpool_test.cpp) -target_link_libraries(threading_test sae_test) +target_link_libraries(threading_test thread_pool sae_test) add_test(NAME threading_test COMMAND threading_test)
Well, nobody is working on this anymore. Closing for now.
TODO: