diff options
Diffstat (limited to 'src/server/Engine.hpp')
-rw-r--r-- | src/server/Engine.hpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/server/Engine.hpp b/src/server/Engine.hpp index 1f8cbce1..e968fdd2 100644 --- a/src/server/Engine.hpp +++ b/src/server/Engine.hpp @@ -29,6 +29,7 @@ #include "ingen/types.hpp" #include "Event.hpp" +#include "Job.hpp" #include "Load.hpp" namespace Raul { @@ -61,12 +62,6 @@ class SocketListener; class UndoStack; class Worker; -struct SingleTask; -struct SeqTask; -struct ParTask; - -using Task = boost::variant<SingleTask, SeqTask, ParTask>; - /** The engine which executes the process graph. @@ -165,7 +160,7 @@ public: bool pending_notifications(); bool wait_for_tasks(); void signal_tasks_available(); - Task* steal_task(unsigned start_thread); + Job steal_task(unsigned start_thread); SPtr<Store> store() const; |