From 48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Sep 2006 03:58:00 +0000 Subject: De-singleton-ified Engine Slight rework of Responder/ClientKey/ClientInterface for Requests git-svn-id: http://svn.drobilla.net/lad/ingen@119 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/PostProcessor.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/libs/engine/PostProcessor.h') diff --git a/src/libs/engine/PostProcessor.h b/src/libs/engine/PostProcessor.h index 2ae8f28b..e29175ee 100644 --- a/src/libs/engine/PostProcessor.h +++ b/src/libs/engine/PostProcessor.h @@ -20,9 +20,10 @@ #include #include "types.h" #include "util/Queue.h" -#include "util/Semaphore.h" #include "Slave.h" +class Maid; + namespace Ingen { class Event; @@ -39,7 +40,7 @@ class Event; class PostProcessor : public Slave { public: - PostProcessor(size_t queue_size); + PostProcessor(Maid& maid, size_t queue_size); /** Push an event on to the process queue, realtime-safe, not thread-safe. */ inline void push(Event* const ev) { _events.push(ev); } @@ -49,6 +50,7 @@ private: PostProcessor(const PostProcessor&); PostProcessor& operator=(const PostProcessor&); + Maid& _maid; Queue _events; virtual void _whipped(); }; -- cgit v1.2.1