diff --git a/daggy/include/daggy/ThreadPool.hpp b/daggy/include/daggy/ThreadPool.hpp index a6bd1fc..6ed7a30 100644 --- a/daggy/include/daggy/ThreadPool.hpp +++ b/daggy/include/daggy/ThreadPool.hpp @@ -8,6 +8,14 @@ #include #include +/* +TODO: There's probably a better implementation of this at + + https://github.com/vit-vit/CTPL/blob/master/ctpl_stl.h + + but for now assume that all work is done using closures. +*/ + namespace daggy { using AsyncTask = std::function; class ThreadPool {