diff options
Diffstat (limited to 'rotord/rotord.h')
| -rwxr-xr-x | rotord/rotord.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rotord/rotord.h b/rotord/rotord.h index 472a879..b948577 100755 --- a/rotord/rotord.h +++ b/rotord/rotord.h @@ -11,6 +11,8 @@ #include "Poco/DateTimeFormat.h" #include "Poco/Exception.h" #include "Poco/ThreadPool.h" +#include "Poco/Task.h" +#include "Poco/TaskManager.h" #include "Poco/Util/ServerApplication.h" #include "Poco/Util/Option.h" #include "Poco/Util/OptionSet.h" @@ -32,6 +34,7 @@ using Poco::Timestamp; using Poco::DateTimeFormatter; using Poco::DateTimeFormat; using Poco::ThreadPool; +using Poco::TaskManager; using Poco::Util::ServerApplication; using Poco::Util::Application; using Poco::Util::Option; @@ -79,7 +82,7 @@ class RotorRequestHandlerFactory: public HTTPRequestHandlerFactory private: std::unordered_map<std::string,Rotor::Render_context> context; Poco::UUIDGenerator idGen; - Poco::ThreadPool pool; + Poco::TaskManager manager; }; class RotorServer: public Poco::Util::ServerApplication |
